summaryrefslogtreecommitdiff
path: root/src/char/char.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-06-18 02:06:30 +0200
committerHaru <haru@dotalux.com>2015-08-13 16:27:31 +0200
commiteecdcc208c5a80d9d85e51e1a7b155b6a18c6e91 (patch)
treef19dcf1fe704ff05a15b9142f24e32cca603ddf0 /src/char/char.c
parent91ec12528483e4851d0d819cb089fedbdda21826 (diff)
downloadhercules-eecdcc208c5a80d9d85e51e1a7b155b6a18c6e91.tar.gz
hercules-eecdcc208c5a80d9d85e51e1a7b155b6a18c6e91.tar.bz2
hercules-eecdcc208c5a80d9d85e51e1a7b155b6a18c6e91.tar.xz
hercules-eecdcc208c5a80d9d85e51e1a7b155b6a18c6e91.zip
Cleaned up strlib interface
- Replaced some macro calls with the proper interface syntax - Removed useless macros and workarounds - Removed no longer needed library function re-definitions API changes summary: - The macros remove_control_chars(), trim(), normalize_name(), stristr(), e_mail_check(), config_switch(), safestrncpy(), safestrnlen(), safesnprintf(), strline(), bin2hex() can now be safely used both inside and outside strlib.c - The macros strnlen() and strtok_r() can now be safely used both inside and outside strlib.c, on the systems where they are necessary. The systems that provide those natively, aren't affected by this change. - jstrescape() is now strlib->jstrescape() - jstrescapecpy() is now strlib->jstrescapecpy() - jmemescapecpy() is now strlib->jmemescapecpy() - a custom strtoull() implementation is no longer provided, since all supported systems and compilers provide a library implementation. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/char/char.c')
0 files changed, 0 insertions, 0 deletions