summaryrefslogtreecommitdiffstats
path: root/include/xtables.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-01-29 13:44:34 +0000
committerPatrick McHardy <kaber@trash.net>2008-01-29 13:44:34 +0000
commita5d099400fd6f9ad3880dda10f85d2aa36b5ec65 (patch)
tree53f0bc09b04d1677e5e150c7cff82c3b1b24c47e /include/xtables.h
parentb4ef34f5be162ffcfe53f5f5fa93541691161580 (diff)
escape strings
Max Kellermann <max@duempel.org>
Diffstat (limited to 'include/xtables.h')
-rw-r--r--include/xtables.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/xtables.h b/include/xtables.h
index 1e45a1a0..484e436a 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