--- psiconv/trunk/lib/psiconv/list.h 2001/01/22 20:36:50 97 +++ psiconv/trunk/lib/psiconv/list.h 2001/01/29 21:57:05 98 @@ -75,6 +75,13 @@ succeeds, 0 is returned. */ extern int psiconv_list_add(psiconv_list l, const void *el); +/* Remove the last element from the list, and copy it to el. Note that + this will not reduce the amount of space reserved for the list. + An error code is returned, which will be 0 zero if everything + succeeded. It is your own responsibility to make sure enough + space is allocated to el. */ +extern int psiconv_list_pop(psiconv_list l, void *el); + /* Replace an element within the list. The element is copied from the supplied element. Fails if you try to write at or after the end of the list. */