… | |
… | |
23 | #define PSICONV_PARSE_H |
23 | #define PSICONV_PARSE_H |
24 | |
24 | |
25 | #include "data.h" |
25 | #include "data.h" |
26 | typedef psiconv_list psiconv_buffer; /* of u8 */ |
26 | typedef psiconv_list psiconv_buffer; /* of u8 */ |
27 | |
27 | |
28 | extern psiconv_file_type_t psiconv_file_type(psiconv_buffer buf); |
28 | extern psiconv_file_type_t psiconv_file_type(psiconv_buffer buf, |
|
|
29 | int *length, |
|
|
30 | psiconv_header_section *result); |
29 | extern int psiconv_parse(const psiconv_buffer buf,psiconv_file *result); |
31 | extern int psiconv_parse(const psiconv_buffer buf,psiconv_file *result); |
30 | |
32 | |
31 | extern int psiconv_verbosity; |
33 | extern int psiconv_verbosity; |
32 | |
34 | |
33 | #define PSICONV_VERB_DEBUG 4 |
35 | #define PSICONV_VERB_DEBUG 4 |