Fix Missing -z proto,colinfo,ip,gtp.teid_cp and -z proto,colinfo,ip,gtp.teid_data
[obnox/wireshark/wip.git] / epan / ws_strsplit.h
1 /* ws_strsplit.h
2  * String Split utility function
3  * Code borrowed from GTK2 to override the GTK1 version of g_strsplit, which is
4  * known to be buggy.
5  *
6  * $Id$
7  *
8  * Wireshark - Network traffic analyzer
9  * By Gerald Combs <gerald@wireshark.org>
10  * Copyright 1998 Gerald Combs
11  *
12  * This program is free software; you can redistribute it and/or
13  * modify it under the terms of the GNU General Public License
14  * as published by the Free Software Foundation; either version 2
15  * of the License, or (at your option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20  * GNU General Public License for more details.
21  *
22  * You should have received a copy of the GNU General Public License
23  * along with this program; if not, write to the Free Software
24  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
25  */
26
27 #ifndef __WS_STRSPLIT_H__
28 #define __WS_STRSPLIT_H__
29
30 #if GLIB_MAJOR_VERSION < 2
31
32 #define g_strsplit(s, d, t) ws_strsplit(s, d, t)
33
34 gchar ** ws_strsplit (const gchar *string,
35                       const gchar *delimiter,
36                       gint max_tokens);
37
38 #endif /* GLIB_MAJOR_VERSION */
39
40 #endif /* __WS_STRSPLIT_H__ */
41