… | |
… | |
16 | along with this program; if not, write to the Free Software |
16 | along with this program; if not, write to the Free Software |
17 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
17 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
18 | */ |
18 | */ |
19 | |
19 | |
20 | #include "config.h" |
20 | #include "config.h" |
|
|
21 | #include "compat.h" |
|
|
22 | |
21 | #include <stdlib.h> |
23 | #include <stdlib.h> |
22 | |
24 | |
23 | #include "data.h" |
|
|
24 | #include "parse_routines.h" |
25 | #include "parse_routines.h" |
|
|
26 | #include "error.h" |
|
|
27 | |
|
|
28 | #ifdef DMALLOC |
|
|
29 | #include <dmalloc.h> |
|
|
30 | #endif |
25 | |
31 | |
26 | int psiconv_parse_texted_section(const psiconv_buffer buf,int lev, |
32 | int psiconv_parse_texted_section(const psiconv_buffer buf,int lev, |
27 | psiconv_u32 off, int *length, |
33 | psiconv_u32 off, int *length, |
28 | psiconv_texted_section *result, |
34 | psiconv_texted_section *result, |
29 | psiconv_character_layout base_char, |
35 | psiconv_character_layout base_char, |