3b375b390a5fb2ba686914eaba334da2795c8f33
[collectd.git] / src / libconfig / strsep.h
1 /*
2  * Copyright (C) 2001, 2002, and 2003  Roy Keene
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU General Public License
6  * as published by the Free Software Foundation; either version 2
7  * of the License, or (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
17  *
18  *      email: libconfig@rkeene.org
19  */
20
21 /* Compliments of Jay Freeman <saurik@saurik.com> */
22
23 #ifndef _RSK_STRSEP_H
24 #define _RSK_STRSEP_H
25
26 /* This is safe, because we're only included when there's no real strsep
27    available. */
28 #define strsep(x,y) lc_strsep(x,y)
29
30 char *strsep(char **stringp, const char *delim);
31
32 #endif