/[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 54 Revision 55
23#ifndef PSICONV_LIST_H 23#ifndef PSICONV_LIST_H
24#define PSICONV_LIST_H 24#define PSICONV_LIST_H
25 25
26#include <stddef.h> 26#include <stddef.h>
27#include <stdio.h> 27#include <stdio.h>
28
29#ifdef __cplusplus
30extern "C" {
31#endif /* __cplusplus */
28 32
29/* Always use psiconv_list, never struct psiconv_list */ 33/* Always use psiconv_list, never struct psiconv_list */
30/* No need to export the actual internal format */ 34/* No need to export the actual internal format */
31typedef struct psiconv_list *psiconv_list; 35typedef struct psiconv_list *psiconv_list;
32 36
77/* Read upto size_t elements from file f, and put them at the end of list l. 81/* Read upto size_t elements from file f, and put them at the end of list l.
78 Returned is the actual number of elements added. This assumes the file 82 Returned is the actual number of elements added. This assumes the file
79 layout and the memory layout of elements is the same. */ 83 layout and the memory layout of elements is the same. */
80extern size_t psiconv_list_fread(psiconv_list l,size_t size, FILE *f); 84extern size_t psiconv_list_fread(psiconv_list l,size_t size, FILE *f);
81 85
86#ifdef __cplusplus
87}
88#endif /* __cplusplus */
89
82#endif 90#endif

Legend:
Removed from v.54  
changed lines
  Added in v.55

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