Main Page | Data Structures | File List | Data Fields | Globals

strings.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2000-2003 KFA: Andrew Moenk and Alex Scott
00003  *
00004  * This program is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU Library General Public
00006  * License as published by the Free Software Foundation; either
00007  * version 2 of the License, or (at your option) any later version.
00008  *
00009  * This program is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012  * Library General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU Library General Public
00015  * License along with this program; if not, write to the
00016  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00017  * Boston, MA 02111-1307, USA.
00018  */
00019 
00024 #include "cuf-global.h"
00025 #include "win32lacks.h"
00026 
00027 #ifndef _STRINGS_H_
00028 # define _STRINGS_H_
00029 
00030 /*** Search Replace ***/
00031 
00032 char *search_replace (char *str, char *mat, char *rep, int allinst);
00033 char *search_replace_env (char *str);
00034 char *slashes_decode (char *str, char *exclude, int decodeliterals);
00035 char *slashes_encode (char *str, char *exclude, char *literals,
00036                       int hexadecimal);
00037 char *slashed_to_quoted (char *str, char *keepescaped, int doublequotes);
00038 char *quoted_to_slashed (char *str, char *includeescape);
00039 
00040 
00041 /*** String Processing ***/ 
00042 
00043 char *strcasestr (char *phaystack, char *pneedle);
00044 char *strcpyto (char *haystack, int delim);
00045 char *strcpyout (char *haystack, char *acceptlist);
00046 char *strcutout (char *haystack, char *start, char *end);
00047 char *strstripq (char *str);
00048 char *strltrim (char *str);
00049 char *strrtrim (char *str);
00050 char *strtrim (char *str);
00051 
00052 
00053 /*** Miscellaneous ***/
00054 
00055 Comparison alpha_compare (char *a, char *b);
00056 
00057 #endif /* _STRINGS_H_ */

Generated on Fri Jun 4 18:35:18 2004 for cuf by doxygen 1.3.6