summaryrefslogtreecommitdiff
path: root/src/basic/escape.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-11-23 22:53:30 +0100
committerTom Gundersen <teg@jklm.no>2015-11-23 22:53:30 +0100
commit1f233d4c24a6c95d34cf0fe5d9c31b5440102479 (patch)
tree06a8eb4a76bc956f2b210f5c208ae51c7a9efa59 /src/basic/escape.h
parente429762faaac0c49353d35144a9d45d283e91213 (diff)
parent45ec7efb6c2560c80dfa752bc9d3733749dc52cb (diff)
Merge pull request #2007 from poettering/resolve-srv
resolved: add support for resolving plain SRV and DNS-SD services
Diffstat (limited to 'src/basic/escape.h')
-rw-r--r--src/basic/escape.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/escape.h b/src/basic/escape.h
index 30604c58f9..52ebf11c4a 100644
--- a/src/basic/escape.h
+++ b/src/basic/escape.h
@@ -35,6 +35,7 @@ typedef enum UnescapeFlags {
} UnescapeFlags;
char *cescape(const char *s);
+char *cescape_length(const char *s, size_t n);
size_t cescape_char(char c, char *buf);
int cunescape(const char *s, UnescapeFlags flags, char **ret);