summaryrefslogtreecommitdiff
path: root/src/common/strlib.h
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-09 20:21:17 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-04-09 20:21:17 +0000
commite0a18f0853dd7a0cf0533ae0d10da9d19b116767 (patch)
tree2f0adc6661ce4597106033a18e33d8e774a76459 /src/common/strlib.h
parentfaf6d705ec5b1f8a95a06d31635704adefcca99b (diff)
downloadhercules-e0a18f0853dd7a0cf0533ae0d10da9d19b116767.tar.gz
hercules-e0a18f0853dd7a0cf0533ae0d10da9d19b116767.tar.bz2
hercules-e0a18f0853dd7a0cf0533ae0d10da9d19b116767.tar.xz
hercules-e0a18f0853dd7a0cf0533ae0d10da9d19b116767.zip
* Recoded and renamed the trim function in strlib to normalize_name. (didn't behave like a standard trim function, see function comment for what it does)
* Added a proper trim function to strlib. * Other minor cleanups. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10199 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/strlib.h')
-rw-r--r--src/common/strlib.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/strlib.h b/src/common/strlib.h
index bf26c2172..db54d2969 100644
--- a/src/common/strlib.h
+++ b/src/common/strlib.h
@@ -9,7 +9,8 @@ char* jstrescapecpy (char* pt, const char* spt);
int jmemescapecpy (char* pt, const char* spt, int size);
int remove_control_chars(char *);
-char *trim(char *str, const char *delim);
+char* trim(char* str);
+char* normalize_name(char* str,const char* delims);
const char *stristr(const char *haystack, const char *needle);
#ifdef __WIN32