X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Futil.h;h=00e33f049258ab79fbdab21ba2607e6d825a9f5a;hb=03635567fbc1d916c44e13527454a80e8ee9db6b;hp=427b52ef1eb0cc1613fc3b8d8690022f4c74b8c9;hpb=6c00c6cee5a32b6af0e4c589d74c6974be50aa20;p=elogind.git diff --git a/src/shared/util.h b/src/shared/util.h index 427b52ef1..00e33f049 100644 --- a/src/shared/util.h +++ b/src/shared/util.h @@ -523,9 +523,6 @@ char *ellipsize_mem(const char *s, size_t old_length, size_t new_length, unsigne int touch_file(const char *path, bool parents, usec_t stamp, uid_t uid, gid_t gid, mode_t mode); int touch(const char *path); -char *unquote(const char *s, const char *quotes); -char *normalize_env_assignment(const char *s); - int wait_for_terminate(pid_t pid, siginfo_t *status); int wait_for_terminate_and_warn(const char *name, pid_t pid, bool check_exit_code); @@ -1089,3 +1086,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);