Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, October 16, 2026

Diff for libcfg+/src/platon/str/strplus.h between version 1.10 and 1.11

version 1.10, 2002/01/21 19:34:57 version 1.11, 2002/02/04 18:38:10
Line 10 
Line 10 
  *                                                                        *   *                                                                        *
  *  Updates: 16.4.2000, 8.11.2000, 5.10.2001, 21.10.2001, 5.12.2001       *   *  Updates: 16.4.2000, 8.11.2000, 5.10.2001, 21.10.2001, 5.12.2001       *
  *  20.12.2001 - str_white_str() added (thanks to <rbarlik@yahoo.com>)    *   *  20.12.2001 - str_white_str() added (thanks to <rbarlik@yahoo.com>)    *
    *  4.2.2002   - strins() added
  *                                                                        *   *                                                                        *
  **************************************************************************/   **************************************************************************/
   
 #ifndef _PLATON_STR_STRPLUS_H  #ifndef _PLATON_STR_STRPLUS_H
 #define _PLATON_STR_STRPLUS_H  #define _PLATON_STR_STRPLUS_H
   
   /* TODO: macros should not be in extern "C" { } */
   
   #ifdef __cplusplus
   extern "C" {
   #endif
   
 /*  /*
  * Locate functions.   * Locate functions
  *   *
  * strendstr() - macro that locates end of substring (use only if you are sure,   * strendstr() - macro that locates end of substring (use only if you are sure,
  *               that substring is located in string)   *               that substring is located in string)
Line 43  char *str_white_str(char *str, char *sub
Line 50  char *str_white_str(char *str, char *sub
 #define strwstr(str, substr) str_white_str(str, substr, NULL)  #define strwstr(str, substr) str_white_str(str, substr, NULL)
   
 /*  /*
  * Counting functions.   * Counting functions
  *   *
  * strcnt() - count number of characters in string   * strcnt() - count number of characters in string
  * strcnt_str() - count number of substrings in string   * strcnt_str() - count number of substrings in string
Line 55  int strcnt_str(const char *str, const ch
Line 62  int strcnt_str(const char *str, const ch
 int strcnt_sepstr(const char *str, const char *substr);  int strcnt_sepstr(const char *str, const char *substr);
   
 /*  /*
  * Removing functions.   * Removing functions
  *   *
  * strdel() - deletes a one character at position of s   * strdel() - deletes a one character at position of s
  * strrmlf() - removes all occurences of LF (Line Feed) in string   * strrmlf() - removes all occurences of LF (Line Feed) in string
Line 90  char *str_trim_whitechars(char *s);
Line 97  char *str_trim_whitechars(char *s);
 #define str_trim(s)     trim(s)  #define str_trim(s)     trim(s)
   
 /*  /*
  * Comparing functions.   * Inserting functions
    *
    * strins() - function inserts string ins at position str;
    *            there MUST be enough memory allocated in str
    */
   char *strins(char *str, char *ins);
   
   /*
    * Comparing functions
  *   *
  * strrcmp() - compares two string in reverse order   * strrcmp() - compares two string in reverse order
  */   */
   
 int strrcmp(const char *s1, const char *s2);  int strrcmp(const char *s1, const char *s2);
   
   #ifdef __cplusplus
   }
   #endif
   
 #endif /* #ifndef _PLATON_STR_STRPLUS_H */  #endif /* #ifndef _PLATON_STR_STRPLUS_H */
   

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top