From a5d099400fd6f9ad3880dda10f85d2aa36b5ec65 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 29 Jan 2008 13:44:34 +0000 Subject: escape strings Max Kellermann --- include/xtables.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') 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 -- cgit v1.2.3