summaryrefslogtreecommitdiffstats
path: root/debian/htdig/htdig-3.2.0b6/htlib/good_strtok.h
diff options
context:
space:
mode:
Diffstat (limited to 'debian/htdig/htdig-3.2.0b6/htlib/good_strtok.h')
-rw-r--r--debian/htdig/htdig-3.2.0b6/htlib/good_strtok.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/htdig/htdig-3.2.0b6/htlib/good_strtok.h b/debian/htdig/htdig-3.2.0b6/htlib/good_strtok.h
new file mode 100644
index 00000000..89e05e0b
--- /dev/null
+++ b/debian/htdig/htdig-3.2.0b6/htlib/good_strtok.h
@@ -0,0 +1,24 @@
+//
+// good_strtok.h
+//
+// good_strtok: The good_strtok() function is very similar to the
+// standard strtok() library function, except that good_strtok()
+// will only skip over 1 separator if it finds one. This is
+// needed when parsing strings with empty fields.
+//
+// Part of the ht://Dig package <http://www.htdig.org/>
+// Copyright (c) 1999-2004 The ht://Dig Group
+// For copyright details, see the file COPYING in your distribution
+// or the GNU Library General Public License (LGPL) version 2 or later
+// <http://www.gnu.org/copyleft/lgpl.html>
+//
+// $Id: good_strtok.h,v 1.7 2004/05/28 13:15:21 lha Exp $
+//
+
+#ifndef _good_strtok_h_
+#define _good_strtok_h_
+
+char *good_strtok(char *, char);
+
+#endif
+