--- psiconv/trunk/lib/psiconv/list.h 2000/12/13 16:30:21 63 +++ psiconv/trunk/lib/psiconv/list.h 2000/12/23 20:21:40 72 @@ -69,7 +69,7 @@ As the lists extends itself, it may be necessary to allocate new memory. If this fails, a negative error-code is returned. If everything, succeeds, 0 is returned. */ -extern int psiconv_list_add(psiconv_list l, void *el); +extern int psiconv_list_add(psiconv_list l, const void *el); /* Do some action for each element. Note: you can directly modify the elements supplied to action, and they will be changed in the list, @@ -87,6 +87,10 @@ not enough memory could be allocated, 0 is simply returned. */ extern size_t psiconv_list_fread(psiconv_list l,size_t size, FILE *f); +/* Concatenate two lists. The element sized does not have to be the same, + but the result may be quite unexpected if it is not. */ +int psiconv_list_concat(psiconv_list l, const psiconv_list extra); + #ifdef __cplusplus }