src/str.h
/* [<][>][^][v][top][bottom][index][help] */
FUNCTIONS
This source file includes following functions.
1 /*
2 * str.h - string functions
3 *
4 */
5 /*
6 * Copyright (C) 1996-1998 Hirotsugu Kakugawa.
7 * All rights reserved.
8 *
9 * This file is part of the VFlib Library. This library is free
10 * software; you can redistribute it and/or modify it under the terms of
11 * the GNU Library General Public License as published by the Free
12 * Software Foundation; either version 2 of the License, or (at your
13 * option) any later version. This library is distributed in the hope
14 * that it will be useful, but WITHOUT ANY WARRANTY; without even the
15 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
16 * PURPOSE. See the GNU Library General Public License for more details.
17 * You should have received a copy of the GNU Library General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20 */
21
22
23 #ifndef __VFLIB_STR_H__
24 #define __VFLIB_STR_H__
25
26 extern char *vf_strdup(char *s);
27 extern int vf_strcmp_ci(char *s1, char *s2);
28 extern int vf_strncmp_ci(char *s1, char *s2, int n);
29 extern char *vf_index(char *s, char ch);
30 extern int vf_index_i(char *s, char ch);
31 extern char *vf_rindex(char *s, char ch);
32 extern int vf_rindex_i(char *s, char ch);
33 extern int vf_index_str_i(char *s, char *t);
34 extern char *vf_index_str(char *s, char *t);
35 extern int vf_rindex_str_i(char *s, char *t);
36 extern char *vf_rindex_str(char *s, char *t);
37 extern int vf_parse_bool(char *s);
38
39 #endif /*__VFLIB_STR_H__*/
40
41 /*EOF*/