Simple C Expat Wrapper (SCEW)  1.1.7
reader_file.h
Go to the documentation of this file.
1 
36 #ifndef READER_FILE_H_0811231351
37 #define READER_FILE_H_0811231351
38 
39 #include "export.h"
40 
41 #include "reader.h"
42 
43 #include <stdio.h>
44 
45 #ifdef __cplusplus
46 extern "C" {
47 #endif /* __cplusplus */
48 
68 extern SCEW_API scew_reader* scew_reader_file_create (char const *file_name);
69 
90 extern SCEW_API scew_reader* scew_reader_fp_create (FILE *file);
91 
92 #ifdef __cplusplus
93 }
94 #endif /* __cplusplus */
95 
96 #endif /* READER_FILE_H_0811231351 */
SCEW reader common functions.
SCEW shared library support.
SCEW_API scew_reader * scew_reader_file_create(char const *file_name)
Creates a new SCEW reader for the given file name.
SCEW_API scew_reader * scew_reader_fp_create(FILE *file)
Creates a new SCEW reader for the given file stream.
struct scew_reader scew_reader
This is the type delcaration for SCEW readers.
Definition: reader.h:66