summaryrefslogtreecommitdiff
path: root/src/common/strlib.h
diff options
context:
space:
mode:
authorcodemaster <codemaster@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-20 20:12:39 +0000
committercodemaster <codemaster@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-20 20:12:39 +0000
commita46c5b799de0d33be85dce39bdc32edc6edc3a65 (patch)
treef1fb609d1047963d843552e18e4561e4896cbe61 /src/common/strlib.h
parentbb83a7c114c17b67e9209fcda27b125192ce6b5a (diff)
downloadhercules-a46c5b799de0d33be85dce39bdc32edc6edc3a65.tar.gz
hercules-a46c5b799de0d33be85dce39bdc32edc6edc3a65.tar.bz2
hercules-a46c5b799de0d33be85dce39bdc32edc6edc3a65.tar.xz
hercules-a46c5b799de0d33be85dce39bdc32edc6edc3a65.zip
* Updated makefiles to new strlib locations [Codemaster]
* Moved strlib.h and strlib.c into the common directory [Codemaster] * Updated a bit of jA 1081 - it's not completly updated yet!!! [Codemaster] git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@682 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/strlib.h')
-rw-r--r--src/common/strlib.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/common/strlib.h b/src/common/strlib.h
new file mode 100644
index 000000000..3321996e1
--- /dev/null
+++ b/src/common/strlib.h
@@ -0,0 +1,10 @@
+#ifndef _J_STR_LIB_H_
+#define _J_STR_LIB_H_
+#define J_MAX_MALLOC_SIZE 65535
+// String function library.
+// code by Jioh L. Jung (ziozzang@4wish.net)
+// This code is under license "BSD"
+unsigned char* jstrescape (unsigned char* pt);
+unsigned char* jstrescapecpy (unsigned char* pt,unsigned char* spt);
+int jmemescapecpy (unsigned char* pt,unsigned char* spt, int size);
+#endif