Sync with sgml.
[privoxy.git] / ssplit.h
1 #ifndef SSPLIT_H_INCLUDED
2 #define SSPLIT_H_INCLUDED
3 #define SSPLIT_H_VERSION "$Id: ssplit.h,v 1.4 2002/03/24 13:25:43 swa Exp $"
4 /*********************************************************************
5  *
6  * File        :  $Source: /cvsroot/ijbswa/current/ssplit.h,v $
7  *
8  * Purpose     :  A function to split a string at specified deliminters.
9  *
10  * Copyright   :  Written by and Copyright (C) 2001 the SourceForge
11  *                Privoxy team. http://www.privoxy.org/
12  *
13  *                Based on the Internet Junkbuster originally written
14  *                by and Copyright (C) 1997 Anonymous Coders and 
15  *                Junkbusters Corporation.  http://www.junkbusters.com
16  *
17  *                This program is free software; you can redistribute it 
18  *                and/or modify it under the terms of the GNU General
19  *                Public License as published by the Free Software
20  *                Foundation; either version 2 of the License, or (at
21  *                your option) any later version.
22  *
23  *                This program is distributed in the hope that it will
24  *                be useful, but WITHOUT ANY WARRANTY; without even the
25  *                implied warranty of MERCHANTABILITY or FITNESS FOR A
26  *                PARTICULAR PURPOSE.  See the GNU General Public
27  *                License for more details.
28  *
29  *                The GNU General Public License should be included with
30  *                this file.  If not, you can view it at
31  *                http://www.gnu.org/copyleft/gpl.html
32  *                or write to the Free Software Foundation, Inc., 59
33  *                Temple Place - Suite 330, Boston, MA  02111-1307, USA.
34  *
35  * Revisions   :
36  *    $Log: ssplit.h,v $
37  *    Revision 1.4  2002/03/24 13:25:43  swa
38  *    name change related issues
39  *
40  *    Revision 1.3  2001/07/29 18:43:08  jongfoster
41  *    Changing #ifdef _FILENAME_H to FILENAME_H_INCLUDED, to conform to
42  *    ANSI C rules.
43  *
44  *    Revision 1.2  2001/05/29 08:54:25  jongfoster
45  *    Rewrote the innards of ssplit() to be easier to understand,
46  *    faster, and to use less memory.  Didn't change the interface
47  *    except to give the parameters meaningful names.
48  *
49  *    Revision 1.1.1.1  2001/05/15 13:59:04  oes
50  *    Initial import of version 2.9.3 source tree
51  *
52  *
53  *********************************************************************/
54 \f
55
56 #ifdef __cplusplus
57 extern "C" {
58 #endif
59
60 extern int ssplit(char *str, const char *delim, char *vec[], int vec_len, 
61                   int dont_save_empty_fields, int ignore_leading);
62
63 /* Revision control strings from this header and associated .c file */
64 extern const char ssplit_rcs[];
65 extern const char ssplit_h_rcs[];
66
67 #ifdef __cplusplus
68 } /* extern "C" */
69 #endif
70
71 #endif /* ndef SSPLIT_H_INCLUDED */
72
73 /*
74   Local Variables:
75   tab-width: 3
76   end:
77 */