pldstr.h

Go to the documentation of this file.
00001 #ifndef __PLDSTR__
00002 #define __PLDSTR__
00003 
00004 #ifndef FL
00005 #define FL __FILE__,__LINE__
00006 #endif
00007 
00008 struct PLD_strtok
00009 {
00010         char *start;
00011         char delimeter;
00012 };
00013 
00014 struct PLD_strreplace
00015 {
00016         char *source;
00017         char *searchfor;
00018         char *replacewith;
00019 
00020         char *preexist;
00021         char *postexist;
00022 
00023         int replacenumber;
00024 
00025         int insensitive;
00026 };
00027 
00028 char *PLD_strstr(char *haystack, char *needle, int insensitive);
00029 char *PLD_strncpy( char *dst, const char *src, size_t len );
00030 char *PLD_strncat( char *dst, const char *src, size_t len );
00031 char *PLD_strncate( char *dst, const char *src, size_t len, char *endpoint );
00032 char *PLD_strtok( struct PLD_strtok *st, char *line, char *delimeters );
00033 int PLD_strncasecmp( char *s1, char *s2, int n );
00034 int PLD_strlower( unsigned char *convertme );
00035 
00036 char *PLD_strreplace_general( struct PLD_strreplace *replace_details );
00037 char *PLD_strreplace( char **source, char *searchfor, char *replacewith, int replacenumber );
00038 char *PLD_dprintf(const char *fmt, ...);
00039 
00040 #endif

Generated on Sun Mar 4 15:03:49 2007 for Scilab [trunk] by  doxygen 1.5.1