util: split out escaping code into escape.[ch]

This really deserves its own file, given how much code this is now.
This commit is contained in:
Lennart Poettering
2015-10-24 23:04:42 +02:00
parent dea7b6b043
commit 4f5dd3943b
40 changed files with 792 additions and 694 deletions
+3 -2
View File
@@ -21,10 +21,11 @@
#include <unistd.h>
#include "util.h"
#include "ctype.h"
#include "escape.h"
#include "strv.h"
#include "utf8.h"
#include "ctype.h"
#include "util.h"
#include "fileio.h"
int write_string_stream(FILE *f, const char *line, bool enforce_newline) {