New string functions
* libmailutils/string/strcount.c (mu_str_count): Take an array of (ASCII) characters to count occurrences of. Optionally store individual counts in an array passed as the 3rd argument. * include/mailutils/cstr.h (mu_str_count): Change proto. (mu_c_str_escape, mu_c_str_escape_trans) (mu_c_str_unescape_inplace, mu_c_str_unescape) (mu_c_str_unescape_trans): New protos. * libmailutils/string/cstrescape.c: New file. * libmailutils/string/cstrunescape.c: New file. * libmailutils/string/Makefile.am: Add new files.
Showing
7 changed files
with
407 additions
and
12 deletions
libmailutils/string/cstrescape.c
0 → 100644
libmailutils/string/cstrunescape.c
0 → 100644
-
Please register or sign in to post a comment