--- psiconv/trunk/lib/psiconv/parse.h 1999/10/03 21:10:47 2 +++ psiconv/trunk/lib/psiconv/parse.h 2000/12/10 16:49:40 58 @@ -22,10 +22,17 @@ #ifndef PSICONV_PARSE_H #define PSICONV_PARSE_H -#include "data.h" +#include + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + typedef psiconv_list psiconv_buffer; /* of u8 */ -extern psiconv_file_type_t psiconv_file_type(psiconv_buffer buf); +extern psiconv_file_type_t psiconv_file_type(psiconv_buffer buf, + int *length, + psiconv_header_section *result); extern int psiconv_parse(const psiconv_buffer buf,psiconv_file *result); extern int psiconv_verbosity; @@ -35,4 +42,8 @@ #define PSICONV_VERB_WARN 2 #define PSICONV_VERB_SILENT 1 +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* def PSICONV_PARSE_H */