Move list support into a separate convenience library.
* configure.ac: Build libmailutils/list/Makefile * include/mailutils/sys/list.h (DESTROY_ITEM): New define. (_mu_list_insert_item): New proto. * libmailutils/Makefile.am (SUBDIRS): Add list. (libmailutils_la_LIBADD): Add list/liblist.la * libmailutils/base/Makefile.am (libbase_la_SOURCES): Remove list sources. * libmailutils/base/list.c: Split into smaller files (see below). * libmailutils/base/listlist.c: Move to libmailutils/list/listlist.c * libmailutils/list/Makefile.am: New file. * libmailutils/list/append.c: New file. * libmailutils/list/array.c: New file. * libmailutils/list/clear.c: New file. * libmailutils/list/count.c: New file. * libmailutils/list/create.c: New file. * libmailutils/list/destroy.c: New file. * libmailutils/list/do.c: New file. * libmailutils/list/empty.c: New file. * libmailutils/list/get.c: New file. * libmailutils/list/getcomp.c: New file. * libmailutils/list/insert.c: New file. * libmailutils/list/intersect.c: New file. * libmailutils/list/iterator.c: New file. * libmailutils/list/locate.c: New file. * libmailutils/list/prepend.c: New file. * libmailutils/list/remove.c: New file. * libmailutils/list/replace.c: New file. * libmailutils/list/setcomp.c: New file. * libmailutils/list/setdestr.c: New file.
Showing
26 changed files
with
1186 additions
and
8 deletions
libmailutils/base/list.c
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
libmailutils/list/Makefile.am
0 → 100644
libmailutils/list/append.c
0 → 100644
libmailutils/list/array.c
0 → 100644
libmailutils/list/clear.c
0 → 100644
libmailutils/list/count.c
0 → 100644
libmailutils/list/create.c
0 → 100644
libmailutils/list/destroy.c
0 → 100644
libmailutils/list/do.c
0 → 100644
libmailutils/list/empty.c
0 → 100644
libmailutils/list/get.c
0 → 100644
libmailutils/list/getcomp.c
0 → 100644
libmailutils/list/insert.c
0 → 100644
libmailutils/list/intersect.c
0 → 100644
libmailutils/list/iterator.c
0 → 100644
libmailutils/list/locate.c
0 → 100644
libmailutils/list/prepend.c
0 → 100644
libmailutils/list/remove.c
0 → 100644
libmailutils/list/replace.c
0 → 100644
libmailutils/list/setcomp.c
0 → 100644
libmailutils/list/setdestr.c
0 → 100644
-
Please register or sign in to post a comment