--- psiconv/trunk/lib/psiconv/parse.h 2000/12/25 22:25:33 79 +++ psiconv/trunk/lib/psiconv/parse.h 2004/02/04 12:19:09 196 @@ -1,6 +1,6 @@ /* parse.h - Part of psiconv, a PSION 5 file formats converter - Copyright (c) 1999, 2000 Frodo Looijaard + Copyright (c) 1999-2004 Frodo Looijaard This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -23,18 +23,20 @@ #ifndef PSICONV_PARSE_H #define PSICONV_PARSE_H -#include +#include +#include #include +#include +#include #include #include -#include -#include #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ -extern psiconv_file_type_t psiconv_file_type(psiconv_buffer buf, +extern psiconv_file_type_t psiconv_file_type(psiconv_config config, + psiconv_buffer buf, int *length, psiconv_header_section *result); @@ -45,7 +47,8 @@ this is valid even if (*result)->file equals NULL). Note that (*result)->file may be NULL if this file type is unknown or unsupported! */ -extern int psiconv_parse(const psiconv_buffer buf,psiconv_file *result); +extern int psiconv_parse(psiconv_config config, + const psiconv_buffer buf,psiconv_file *result); #ifdef __cplusplus }