summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
author/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net </C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net>2008-01-29 13:44:34 +0000
committer/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net </C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net>2008-01-29 13:44:34 +0000
commit144065575fcd5f60eeba7f6bd9b813a8c5c5c997 (patch)
tree53f0bc09b04d1677e5e150c7cff82c3b1b24c47e /include
parent17e5b897e9fc58f1f5fc5949c48e6aad7b489634 (diff)
[PATCH]: escape strings
Max Kellermann <max@duempel.org>
Diffstat (limited to 'include')
-rw-r--r--include/xtables.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/xtables.h b/include/xtables.h
index 1e45a1a..484e436 100644
--- a/include/xtables.h
+++ b/include/xtables.h
@@ -251,6 +251,12 @@ extern const char *ip6mask_to_numeric(const struct in6_addr *);
extern void ip6parse_hostnetworkmask(const char *, struct in6_addr **,
struct in6_addr *, unsigned int *);
+/**
+ * Print the specified value to standard output, quoting dangerous
+ * characters if required.
+ */
+extern void save_string(const char *value);
+
#ifdef NO_SHARED_LIBS
# ifdef _INIT
# undef _init