File: tomoe-xml-parser.h

package info (click to toggle)
tomoe 0.6.0-1.1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 51,408 kB
  • ctags: 29,632
  • sloc: xml: 1,387,627; ansic: 11,515; sh: 9,072; ruby: 1,344; python: 762; makefile: 447
file content (52 lines) | stat: -rw-r--r-- 1,592 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 *  Copyright (C) 2006 Kouhei Sutou <kou@cozmixng.org>
 *
 *  This library is free software; you can redistribute it and/or
 *  modify it under the terms of the GNU Lesser General Public
 *  License as published by the Free Software Foundation; either
 *  version 2 of the License, or (at your option) any later version.
 *
 *  This library is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Lesser General Public License for more details.
 *
 *  You should have received a copy of the GNU Lesser General Public
 *  License along with this program; if not, write to the
 *  Free Software Foundation, Inc., 59 Temple Place, Suite 330,
 *  Boston, MA  02111-1307  USA
 *
 *  $Id: tomoe-xml-parser.h 921 2006-12-01 01:37:38Z ikezoe $
 */

#ifndef __TOMOE_XML_PARSER_H__
#define __TOMOE_XML_PARSER_H__

#include <glib.h>

G_BEGIN_DECLS

#include <tomoe-char.h>

typedef struct _TomoeXMLParsedData TomoeXMLParsedData;

struct _TomoeXMLParsedData
{
    gchar     *name;
    GPtrArray *chars;
};

gboolean   tomoe_xml_parser_parse_dictionary_file (const gchar *filename,
                                                    TomoeXMLParsedData *result);
TomoeChar *tomoe_xml_parser_parse_char_data       (const gchar *xml,
                                                    gssize      len);


G_END_DECLS

#endif /* __TOMOE_XML_PARSER_H__ */

/*
vi:ts=4:nowrap:ai:expandtab
*/