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 /*********************************************************************
6 * File : $Source: /cvsroot/ijbswa/current/ssplit.h,v $
8 * Purpose : A function to split a string at specified deliminters.
10 * Copyright : Written by and Copyright (C) 2001 the SourceForge
11 * Privoxy team. http://www.privoxy.org/
13 * Based on the Internet Junkbuster originally written
14 * by and Copyright (C) 1997 Anonymous Coders and
15 * Junkbusters Corporation. http://www.junkbusters.com
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.
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.
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.
37 * Revision 1.4 2002/03/24 13:25:43 swa
38 * name change related issues
40 * Revision 1.3 2001/07/29 18:43:08 jongfoster
41 * Changing #ifdef _FILENAME_H to FILENAME_H_INCLUDED, to conform to
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.
49 * Revision 1.1.1.1 2001/05/15 13:59:04 oes
50 * Initial import of version 2.9.3 source tree
53 *********************************************************************/
60 extern int ssplit(char *str, const char *delim, char *vec[], int vec_len,
61 int dont_save_empty_fields, int ignore_leading);
63 /* Revision control strings from this header and associated .c file */
64 extern const char ssplit_rcs[];
65 extern const char ssplit_h_rcs[];
71 #endif /* ndef SSPLIT_H_INCLUDED */