core-util: introduce generic function pa_strip()

This commit is contained in:
Lennart Poettering 2010-02-21 21:59:53 +01:00
parent f8aceafb13
commit f1af7a02d1
2 changed files with 25 additions and 4 deletions

View file

@ -103,6 +103,7 @@ char *pa_split(const char *c, const char*delimiters, const char **state);
char *pa_split_spaces(const char *c, const char **state);
char *pa_strip_nl(char *s);
char *pa_strip(char *s);
const char *pa_sig2str(int sig) PA_GCC_PURE;