00001 
00048 #ifndef __SPSTRING_H__
00049 #define __SPSTRING_H__
00050 
00051 #include "bool.h"
00052 
00056 typedef char* string;
00057 
00061 typedef unsigned int uint;
00062 
00070 string sp_new_string(const string str);
00071 
00079 string sp_new_empty_string(int len);
00080 
00117 string sp_strcpy(string copy, const string original, int offset);
00118 
00123 void sp_free(string str);
00124 
00131 int sp_strlen(const string str);
00132 
00139 bool sp_strcmp(const string str1, const string str2);
00140 
00158 string sp_strcat(const string str1, const string str2);
00159 
00167 string sp_lower_case(const string str);
00168 
00176 string sp_upper_case(const string str);
00177 
00178 #endif