diff options
author | obiot <obiot@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-05-01 20:46:24 +0000 |
---|---|---|
committer | obiot <obiot@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-05-01 20:46:24 +0000 |
commit | 8a375bf1466bfa555f68431f5aa73319c19af3aa (patch) | |
tree | 54b6828c286d2eba29f0b424c40f23535b65c5da /epan/strutil.h | |
parent | 3a68558abcd7faefa6ae4e934a2de0648b8d81d8 (diff) |
Add an XML escaping routine: xml_escape()
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10759 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/strutil.h')
-rw-r--r-- | epan/strutil.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/strutil.h b/epan/strutil.h index a90c294646..f78b5a7c0e 100644 --- a/epan/strutil.h +++ b/epan/strutil.h @@ -1,7 +1,7 @@ /* strutil.h * String utility definitions * - * $Id: strutil.h,v 1.14 2004/01/25 16:58:25 jmayer Exp $ + * $Id: strutil.h,v 1.15 2004/05/01 20:46:24 obiot Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -35,6 +35,7 @@ gchar* format_text(const guchar *line, int len); gchar* bytes_to_str(const guint8 *, int); gchar* bytes_to_str_punct(const guint8 *, int, gchar punct); gboolean hex_str_to_bytes(const char *hex_str, GByteArray *bytes); +gchar* xml_escape(const gchar *unescaped); const guint8 * epan_memmem(const guint8 *haystack, guint haystack_len, const guint8 *needle, guint needle_len); |