The Mana World fork of Hercules. This is vanilla Hercules with a few tiny modifications for our specific needs. Mutually-beneficial modifications are contributed upstream.
#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"unsignedchar*jstrescape(unsignedchar*pt);unsignedchar*jstrescapecpy(unsignedchar*pt,unsignedchar*spt);intjmemescapecpy(unsignedchar*pt,unsignedchar*spt,intsize);#endif