/[public]/psiconv/trunk/lib/psiconv/list.h
ViewVC logotype

Diff of /psiconv/trunk/lib/psiconv/list.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 73 Revision 74
85 Returned is the actual number of elements added. This assumes the file 85 Returned is the actual number of elements added. This assumes the file
86 layout and the memory layout of elements is the same. Note that if 86 layout and the memory layout of elements is the same. Note that if
87 not enough memory could be allocated, 0 is simply returned. */ 87 not enough memory could be allocated, 0 is simply returned. */
88extern size_t psiconv_list_fread(psiconv_list l,size_t size, FILE *f); 88extern size_t psiconv_list_fread(psiconv_list l,size_t size, FILE *f);
89 89
90/* Read the whole file f to list l. Returns 0 on succes, and an errorcode
91 on failure. */
92extern int psiconv_list_fread_all(psiconv_list l, FILE *f);
93
94/* Write the whole list l to the opened file f. Returns 0 on succes, and
95 an errorcode on failure. */
96extern int psiconv_list_fwrite_all(const psiconv_list l, FILE *f);
97
90/* Concatenate two lists. The element sized does not have to be the same, 98/* Concatenate two lists. The element sized does not have to be the same,
91 but the result may be quite unexpected if it is not. */ 99 but the result may be quite unexpected if it is not. */
92int psiconv_list_concat(psiconv_list l, const psiconv_list extra); 100int psiconv_list_concat(psiconv_list l, const psiconv_list extra);
93 101
94 102

Legend:
Removed from v.73  
changed lines
  Added in v.74

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26