aboutsummaryrefslogtreecommitdiffstats
path: root/epan/g_ascii_strcasecmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'epan/g_ascii_strcasecmp.h')
-rw-r--r--epan/g_ascii_strcasecmp.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/epan/g_ascii_strcasecmp.h b/epan/g_ascii_strcasecmp.h
new file mode 100644
index 0000000000..05621735a7
--- /dev/null
+++ b/epan/g_ascii_strcasecmp.h
@@ -0,0 +1,18 @@
+/*
+ * $Id$
+ *
+ * "g_ascii_strcasecmp()" and "g_ascii_strncasecmp()" extracted from
+ * GLib 2.4.8, for use with GLibs that don't have it (e.g., GLib 1.2[.x]).
+ */
+
+#ifndef __WIRESHARK_G_ASCII_STRCASECMP_H__
+#define __WIRESHARK_G_ASCII_STRCASECMP_H__
+
+extern gint g_ascii_strcasecmp (const gchar *s1,
+ const gchar *s2);
+
+extern gint g_ascii_strncasecmp (const gchar *s1,
+ const gchar *s2,
+ gsize n);
+
+#endif