• Main Page
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

/home/pascal/depot/filedata/src/epr/epr_string.h

00001 /*
00002  * $Id: epr__string_8h_source.html,v 1.11 2013/02/14 16:57:54 pascal Exp $
00003  *
00004  * Copyright (C) 2002 by Brockmann Consult (info@brockmann-consult.de)
00005  *
00006  * This program is free software; you can redistribute it and/or modify it
00007  * under the terms of the GNU General Public License as published by the
00008  * Free Software Foundation. This program is distributed in the hope it will
00009  * be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
00010  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00011  * See the GNU General Public License for more details.
00012  *
00013  * You should have received a copy of the GNU General Public License
00014  * along with this program; if not, write to the Free Software
00015  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00016  */
00017 
00018 #ifndef EPR_STRING_H_INCL
00019 #define EPR_STRING_H_INCL
00020 
00021 #ifdef __cplusplus
00022 extern "C"
00023 {
00024 #endif
00025 
00026 #include <stdlib.h>
00027 #include <string.h>
00028 #include <assert.h>
00029 
00030 char* epr_assign_string(char** str_clone, const char* str);
00031 char* epr_create_string(unsigned int length);
00032 char* epr_clone_string(const char* str);
00033 void epr_cut_string(char** sub_str, const char* str, int start, int length);
00034 char* epr_sub_string(const char* str, int start, int length);
00035 boolean epr_equal_names(const char* name1, const char* name2);
00036 void epr_free_string(char* str);
00037 char* epr_str_tok(const char* str, const char* seps, int* pos);
00038 char* epr_str_tok_tok(const char* str, const char* seps, const char* exceptions, uint* pos);
00039 int epr_find_first_not_white(const char* str);
00040 int epr_find_last_not_white(const char* str);
00041 char* epr_trim_string(char* str);
00042 char* epr_strip_string_r(char* str);
00043 int epr_if_no_letters(const char* str);
00044 int epr_numeral_suspicion(const char* str);
00045 int epr_get_positive_int(const char* str);
00046 void epr_free_and_null_string(char** str);
00047 int epr_if_no_scaling(const char* str);
00048 
00052 int stricmp(const char* s1, const char* s2);
00053 
00054 #ifdef __cplusplus
00055 } /* extern "C" */
00056 #endif
00057 #endif /* #ifndef EPR_STRING_H_INCL */

Generated on Thu Feb 14 2013 17:59:03 for filedata.kdevelop by  doxygen 1.7.1