| 1 |
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 2; tab-width: 2 -*- */ |
| 2 |
/* gdome-xml-xmldtdutil.h |
| 3 |
* |
| 4 |
* Copyright (C) 2001 Paolo Casarini <[email protected]> |
| 5 |
* |
| 6 |
* This library is free software; you can redistribute it and/or |
| 7 |
* 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. |
| 10 |
* |
| 11 |
* This library is distributed in the hope that it will be useful, |
| 12 |
* 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. |
| 15 |
* |
| 16 |
* You should have received a copy of the GNU Lesser General Public |
| 17 |
* License along with this library; if not, write to the Free Software |
| 18 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 19 |
*/ |
| 20 |
|
| 21 |
#ifndef GDOME_XML_XMLNOTATIONS_H |
| 22 |
#define GDOME_XML_XMLNOTATIONS_H |
| 23 |
|
| 24 |
typedef struct _gdome_xmlNotation gdome_xmlNotation; |
| 25 |
struct _gdome_xmlNotation { |
| 26 |
void *_private; |
| 27 |
xmlElementType type; /* XML_NOTATION_NODE */ |
| 28 |
const xmlChar *name; /* Attribute name */ |
| 29 |
struct _xmlNode *children; /* NULL */ |
| 30 |
struct _xmlNode *last; /* NULL */ |
| 31 |
struct _xmlDtd *parent; /* NULL */ |
| 32 |
struct _xmlNode *next; /* NULL */ |
| 33 |
struct _xmlNode *prev; /* NULL */ |
| 34 |
struct _xmlDoc *doc; /* the containing document */ |
| 35 |
|
| 36 |
const xmlChar *PublicID; /* External identifier for PUBLIC */ |
| 37 |
const xmlChar *SystemID; /* URI for a SYSTEM or PUBLIC Entity */ |
| 38 |
|
| 39 |
struct _xmlNotation *orig; /* the corresponding xmlNotation* */ |
| 40 |
}; |
| 41 |
|
| 42 |
xmlHashTable *gdome_xmlNotationsHashCreate (xmlDoc *doc); |
| 43 |
void gdome_xmlNotationsHashFree (xmlHashTable *ht); |
| 44 |
xmlHashTable *gdome_xmlEntitiesHashCreate (xmlDoc *doc); |
| 45 |
void gdome_xmlEntitiesHashFree (xmlHashTable *ht); |
| 46 |
|
| 47 |
#endif /* GDOME_XML_XMLNOTATIONS_H */ |
| 48 |
|