Implement LIFO access functions for lists.
* include/mailutils/list.h (mu_list_push) (mu_list_pop): New functions. * libmailutils/list/pop.c: New file. * libmailutils/list/push.c: New file. * libmailutils/list/Makefile.am (liblist_la_SOURCES): Add new files. * libmailutils/tests/list.at: Test LIFO access. * libmailutils/tests/listop.c: Implement push & pop.
Showing
6 changed files
with
153 additions
and
0 deletions
libmailutils/list/pop.c
0 → 100644
libmailutils/list/push.c
0 → 100644
-
Please register or sign in to post a comment