diff options
Diffstat (limited to 'src/common/strlib.h')
-rw-r--r-- | src/common/strlib.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/common/strlib.h b/src/common/strlib.h new file mode 100644 index 000000000..55920f823 --- /dev/null +++ b/src/common/strlib.h @@ -0,0 +1,13 @@ +#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" +char* jstrescape (char* pt); +char* jstrescapecpy (char* pt,char* spt); +int jmemescapecpy (char* pt,char* spt, int size); + +// custom functions +int remove_control_chars(unsigned char *); +#endif |