chiark / gitweb /
util: add shell_maybe_quote() call for preparing a string for shell cmdline inclusion
[elogind.git] / src / shared / util.h
index 427b52ef1eb0cc1613fc3b8d8690022f4c74b8c9..1026070f209078fca27cf4dfa78e032b2d2a677e 100644 (file)
@@ -1089,3 +1089,5 @@ int syslog_parse_priority(const char **p, int *priority, bool with_facility);
 void cmsg_close_all(struct msghdr *mh);
 
 int rename_noreplace(int olddirfd, const char *oldpath, int newdirfd, const char *newpath);
+
+char *shell_maybe_quote(const char *s);