… | |
… | |
26 | #include <psiconv/data.h> |
26 | #include <psiconv/data.h> |
27 | #include <psiconv/error.h> |
27 | #include <psiconv/error.h> |
28 | #include <psiconv/buffer.h> |
28 | #include <psiconv/buffer.h> |
29 | #include <psiconv/general.h> |
29 | #include <psiconv/general.h> |
30 | #include <psiconv/common.h> |
30 | #include <psiconv/common.h> |
|
|
31 | #include <psiconv/configuration.h> |
31 | |
32 | |
32 | #ifdef __cplusplus |
33 | #ifdef __cplusplus |
33 | extern "C" { |
34 | extern "C" { |
34 | #endif /* __cplusplus */ |
35 | #endif /* __cplusplus */ |
35 | |
36 | |
36 | /* Generate a Psion file. If its return-value is non-zero, something has |
37 | /* Generate a Psion file. If its return-value is non-zero, something has |
37 | gone horribly wrong (badly corrupted data, or out of memory, usually), |
38 | gone horribly wrong (badly corrupted data, or out of memory, usually), |
38 | and *buf is undefined and unallocated; in normal cases, memory is |
39 | and *buf is undefined and unallocated; in normal cases, memory is |
39 | allocated to it and it is up to you to free it. |
40 | allocated to it and it is up to you to free it. |
40 | */ |
41 | */ |
41 | extern int psiconv_write(psiconv_buffer *buf,const psiconv_file value); |
42 | extern int psiconv_write(psiconv_config config, psiconv_buffer *buf, |
|
|
43 | const psiconv_file value); |
42 | |
44 | |
43 | #ifdef __cplusplus |
45 | #ifdef __cplusplus |
44 | } |
46 | } |
45 | #endif /* __cplusplus */ |
47 | #endif /* __cplusplus */ |
46 | |
48 | |