From 144065575fcd5f60eeba7f6bd9b813a8c5c5c997 Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net" Date: Tue, 29 Jan 2008 13:44:34 +0000 Subject: [PATCH]: 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 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 -- cgit v1.2.3