… | |
… | |
18 | */ |
18 | */ |
19 | |
19 | |
20 | #ifndef PSICONV_PSICONV_H |
20 | #ifndef PSICONV_PSICONV_H |
21 | #define PSICONV_PSICONV_H |
21 | #define PSICONV_PSICONV_H |
22 | |
22 | |
23 | #include "data.h" |
23 | #include "psiconv/data.h" |
24 | |
24 | |
25 | typedef int output_function(FILE *, const psiconv_file,const char *); |
25 | #ifndef PSICONV_ENC_H |
|
|
26 | #include "encoding.h" |
|
|
27 | #endif |
26 | |
28 | |
|
|
29 | typedef int output_function(const char *filename, const psiconv_file, |
|
|
30 | const char *type, |
|
|
31 | const psiconv_encoding encoding_type); |
|
|
32 | |
27 | typedef struct psiconv_fileformat { |
33 | typedef struct psiconv_fileformat_s { |
28 | const char *name; |
34 | const char *name; |
29 | const char *description; |
35 | const char *description; |
30 | output_function *output; |
36 | output_function *output; |
31 | } *psiconv_fileformat; |
37 | } *psiconv_fileformat; |
32 | |
38 | |