4 * XML dissector for Wireshark
5 * DTD import declarations
7 * Copyright 2005, Luis E. Garcia Ontanon <luis@ontanon.org>
11 * Wireshark - Network traffic analyzer
12 * By Gerald Combs <gerald@wireshark.org>
13 * Copyright 1998 Gerald Combs
15 * This program is free software; you can redistribute it and/or
16 * modify it under the terms of the GNU General Public License
17 * as published by the Free Software Foundation; either version 2
18 * of the License, or (at your option) any later version.
20 * This program is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 * GNU General Public License for more details.
25 * You should have received a copy of the GNU General Public License
26 * along with this program; if not, write to the Free Software
27 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
34 #include <stdlib.h> /* exit() */
36 typedef struct _dtd_build_data_t
{
44 GPtrArray
* attributes
;
49 typedef struct _dtd_token_data_t
{
54 typedef struct _dtd_named_list_t
{
59 extern GString
* dtd_preparse(const gchar
* dname
, const gchar
* fname
, GString
* err
);
60 extern dtd_build_data_t
* dtd_parse(GString
* s
);