diff options
author | Haru <haru@dotalux.com> | 2015-06-18 02:06:30 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-08-15 00:51:39 +0200 |
commit | 2ce7edfe772c319756a9e4feb46f33b201ccfae5 (patch) | |
tree | 14480ed0e705b23218709bcc0100ea0270a0adda /src/common/HPMDataCheck.h | |
parent | 1034bfb7a390cb21623c3892f4d2304e2458af79 (diff) | |
download | hercules-2ce7edfe772c319756a9e4feb46f33b201ccfae5.tar.gz hercules-2ce7edfe772c319756a9e4feb46f33b201ccfae5.tar.bz2 hercules-2ce7edfe772c319756a9e4feb46f33b201ccfae5.tar.xz hercules-2ce7edfe772c319756a9e4feb46f33b201ccfae5.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/common/HPMDataCheck.h')
0 files changed, 0 insertions, 0 deletions