summaryrefslogtreecommitdiff
path: root/src/common/strlib.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-11-16 01:57:44 +0100
committerHaru <haru@dotalux.com>2014-11-16 07:16:22 +0100
commite28e52c09c8aedfdce4d0673f84382a3ee44f63b (patch)
tree7d5736db9708cb1b343176d7d512b5637e0145b3 /src/common/strlib.c
parentd5e8c4e4b75636451782098929699eb97cebebe4 (diff)
downloadhercules-e28e52c09c8aedfdce4d0673f84382a3ee44f63b.tar.gz
hercules-e28e52c09c8aedfdce4d0673f84382a3ee44f63b.tar.bz2
hercules-e28e52c09c8aedfdce4d0673f84382a3ee44f63b.tar.xz
hercules-e28e52c09c8aedfdce4d0673f84382a3ee44f63b.zip
Moved strlib_s, stringbuf_s and sv_s into strlib.c
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/common/strlib.c')
-rw-r--r--src/common/strlib.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/strlib.c b/src/common/strlib.c
index 592390770..4b69477dd 100644
--- a/src/common/strlib.c
+++ b/src/common/strlib.c
@@ -18,6 +18,10 @@
#define J_MAX_MALLOC_SIZE 65535
+struct strlib_interface strlib_s;
+struct stringbuf_interface stringbuf_s;
+struct sv_interface sv_s;
+
// escapes a string in-place (' -> \' , \ -> \\ , % -> _)
char* jstrescape (char* pt) {
//copy from here