Add generic library for option parsing.
* configure.ac: Build libmailutils/opt * include/mailutils/Makefile.am: Add opt.h * include/mailutils/opt.h: New file. * include/mailutils/util.h (mu_c_type_t): New datatype. (mu_str_to_c): New proto. * libmailutils/Makefile.am: Add opt to subdirs. * libmailutils/opt/Makefile.am: New file. * libmailutils/opt/help.c: New file. * libmailutils/opt/opt.c: New file. * libmailutils/opt/progname.c: New file. * libmailutils/string/Makefile.am: Add new files. * libmailutils/string/str_to_c.c: New file. * libmailutils/string/to_sn.c: New file. * libmailutils/string/to_un.c: New file. * libmailutils/tests/.gitignore: Update. * libmailutils/tests/Makefile.am: Update. * libmailutils/tests/parseopt.c: New file.
Showing
16 changed files
with
1684 additions
and
3 deletions
include/mailutils/opt.h
0 → 100644
libmailutils/opt/Makefile.am
0 → 100644
libmailutils/opt/help.c
0 → 100644
libmailutils/opt/opt.c
0 → 100644
libmailutils/opt/progname.c
0 → 100644
libmailutils/string/str_to_c.c
0 → 100644
libmailutils/string/to_sn.c
0 → 100644
libmailutils/string/to_un.c
0 → 100644
libmailutils/tests/parseopt.c
0 → 100644
-
Please register or sign in to post a comment