chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
util: add shell_maybe_quote() call for preparing a string for shell cmdline inclusion
[elogind.git]
/
src
/
shared
/
util.h
diff --git
a/src/shared/util.h
b/src/shared/util.h
index 427b52ef1eb0cc1613fc3b8d8690022f4c74b8c9..1026070f209078fca27cf4dfa78e032b2d2a677e 100644
(file)
--- a/
src/shared/util.h
+++ b/
src/shared/util.h
@@
-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);