/[public]/psiconv/trunk/program/psiconv/psiconv.h
ViewVC logotype

Diff of /psiconv/trunk/program/psiconv/psiconv.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 147 Revision 185
15 You should have received a copy of the GNU General Public License 15 You should have received a copy of the GNU General Public License
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#ifndef PSICONV_PSICONV_H 20#ifndef PSICONV_H
21#define PSICONV_PSICONV_H 21#define PSICONV_H
22 22
23#include "psiconv/data.h" 23#include <psiconv/data.h>
24#include <psiconv/configuration.h>
24 25
25#ifndef PSICONV_ENC_H 26typedef enum
26#include "encoding.h" 27{
27#endif 28 ENCODING_UTF8,
29 ENCODING_UCS2,
30 ENCODING_PSION,
31 ENCODING_ASCII
32} encoding;
28 33
29typedef int output_function(const char *filename, const psiconv_file, 34typedef int output_function(const psiconv_config config,
35 psiconv_list list, const psiconv_file file,
30 const char *type, 36 const char *type,
31 const psiconv_encoding encoding_type); 37 const encoding encoding_type);
32 38
33typedef struct psiconv_fileformat_s { 39typedef struct fileformat_s {
34 const char *name; 40 const char *name;
35 const char *description; 41 const char *description;
36 output_function *output; 42 output_function *output;
37} *psiconv_fileformat; 43} *fileformat;
38 44
39psiconv_list fileformat_list; /* of struct psiconv_fileformat */ 45psiconv_list fileformat_list; /* of struct psiconv_fileformat */
40 46
47
41#endif /* PSICONV_GEN_H */ 48#endif /* PSICONV_H */

Legend:
Removed from v.147  
changed lines
  Added in v.185

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26