1 /* Header file for encoding.c.
2 Copyright (C) 2001 The Genes Development Team
3 This file is part of the Gedcom parser library.
4 Contributed by Peter Verthez <Peter.Verthez@advalvas.be>, 2001.
6 The Gedcom parser library is free software; you can redistribute it
7 and/or modify it under the terms of the GNU Lesser General Public
8 License as published by the Free Software Foundation; either
9 version 2.1 of the License, or (at your option) any later version.
11 The Gedcom parser library is distributed in the hope that it will be
12 useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 Lesser General Public License for more details.
16 You should have received a copy of the GNU Lesser General Public
17 License along with the Gedcom parser library; if not, write to the
18 Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
24 /* Basic file encoding */
29 #include "utf8tools.h"
31 void init_encodings();
32 char* get_encoding(const char* gedcom_n, Encoding enc);
33 void update_gconv_search_path();
35 int open_conv_to_internal(const char* fromcode);
36 void close_conv_to_internal();
37 char* to_internal(const char* str, size_t len, struct conv_buffer *output_buf);
39 #endif /* __ENCODING_H */