--- psiconv/trunk/lib/psiconv/list.h 2000/12/24 16:03:57 73 +++ psiconv/trunk/lib/psiconv/list.h 2000/12/24 16:34:19 74 @@ -87,6 +87,14 @@ not enough memory could be allocated, 0 is simply returned. */ extern size_t psiconv_list_fread(psiconv_list l,size_t size, FILE *f); +/* Read the whole file f to list l. Returns 0 on succes, and an errorcode + on failure. */ +extern int psiconv_list_fread_all(psiconv_list l, FILE *f); + +/* Write the whole list l to the opened file f. Returns 0 on succes, and + an errorcode on failure. */ +extern int psiconv_list_fwrite_all(const psiconv_list l, 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);