Fixing segfault if last header was crunched.
[privoxy.git] / ssplit.h
1 #ifndef _SSPLIT_H
2 #define _SSPLIT_H
3 #define SSPLIT_H_VERSION "$Id: ssplit.h,v 1.1 2001/05/13 21:57:07 administrator Exp $"
4 /*********************************************************************
5  *
6  * File        :  $Source: /home/administrator/cvs/ijb/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  *                IJBSWA team.  http://ijbswa.sourceforge.net
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  *
38  *********************************************************************/
39 \f
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44
45 extern int ssplit(char *s, char *c, char *v[], int n, int m, int l);
46
47 /* Revision control strings from this header and associated .c file */
48 extern const char ssplit_rcs[];
49 extern const char ssplit_h_rcs[];
50
51 #ifdef __cplusplus
52 } /* extern "C" */
53 #endif
54
55 #endif /* ndef _SSPLIT_H */
56
57 /*
58   Local Variables:
59   tab-width: 3
60   end:
61 */