util: split out nulstr related stuff to nulstr-util.[ch]

This commit is contained in:
Lennart Poettering
2019-03-14 13:25:52 +01:00
parent 090a9c1eba
commit d8b4d14df4
40 changed files with 70 additions and 40 deletions
-2
View File
@@ -165,8 +165,6 @@ char *cellescape(char *buf, size_t len, const char *s);
/* This limit is arbitrary, enough to give some idea what the string contains */
#define CELLESCAPE_DEFAULT_LENGTH 64
bool nulstr_contains(const char *nulstr, const char *needle);
char* strshorten(char *s, size_t l);
char *strreplace(const char *text, const char *old_string, const char *new_string);