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
+6 -5
View File
@@ -23,17 +23,18 @@
#include <errno.h>
#include <sys/mman.h>
#include <mntent.h>
#include <libcryptsetup.h>
#include "sd-device.h"
#include "ask-password-api.h"
#include "device-util.h"
#include "escape.h"
#include "fileio.h"
#include "log.h"
#include "util.h"
#include "path-util.h"
#include "strv.h"
#include "ask-password-api.h"
#include "sd-device.h"
#include "device-util.h"
#include "util.h"
static const char *arg_type = NULL; /* CRYPT_LUKS1, CRYPT_TCRYPT or CRYPT_PLAIN */
static char *arg_cipher = NULL;