X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=shxml%2Fdtd.c;h=9c3402d28e0e46894fe3544222188da9dd880c89;hb=eec6d2c37cbcbf9c350aa4ca80e5a316e5144087;hp=67cb7ccca08b1638eb576824f7e695ca2eae7879;hpb=b703b86d3ee7f32217d6d48312580632c5e02034;p=libucw.git diff --git a/shxml/dtd.c b/shxml/dtd.c index 67cb7ccc..9c3402d2 100644 --- a/shxml/dtd.c +++ b/shxml/dtd.c @@ -9,13 +9,13 @@ #undef LOCAL_DEBUG -#include "sherlock/sherlock.h" -#include "sherlock/xml/xml.h" -#include "sherlock/xml/dtd.h" -#include "sherlock/xml/internals.h" -#include "ucw/fastbuf.h" -#include "ucw/ff-unicode.h" -#include "ucw/unicode.h" +#include +#include +#include +#include +#include +#include +#include /* Notations */ @@ -29,7 +29,7 @@ #define HASH_GIVE_ALLOC #define HASH_TABLE_ALLOC XML_HASH_GIVE_ALLOC -#include "ucw/hashtable.h" +#include struct xml_dtd_notn * xml_dtd_find_notn(struct xml_context *ctx, char *name) @@ -51,7 +51,7 @@ xml_dtd_find_notn(struct xml_context *ctx, char *name) #define HASH_GIVE_ALLOC #define HASH_TABLE_ALLOC XML_HASH_GIVE_ALLOC -#include "ucw/hashtable.h" +#include static struct xml_dtd_entity * xml_dtd_declare_trivial_entity(struct xml_context *ctx, char *name, char *text) @@ -155,7 +155,7 @@ xml_dtd_elems_init_data(struct xml_dtd_elems_table *tab UNUSED, struct xml_dtd_e #define HASH_GIVE_INIT_DATA #define HASH_TABLE_ALLOC XML_HASH_GIVE_ALLOC -#include "ucw/hashtable.h" +#include struct xml_dtd_elem * xml_dtd_find_elem(struct xml_context *ctx, char *name) @@ -200,7 +200,7 @@ xml_dtd_enodes_init_key(struct xml_dtd_enodes_table *tab UNUSED, struct xml_dtd_ #define HASH_GIVE_ALLOC #define HASH_TABLE_ALLOC XML_HASH_GIVE_ALLOC -#include "ucw/hashtable.h" +#include /* Element attributes */ @@ -240,7 +240,7 @@ xml_dtd_attrs_init_key(struct xml_dtd_attrs_table *tab UNUSED, struct xml_dtd_at #define HASH_GIVE_ALLOC #define HASH_TABLE_ALLOC XML_HASH_GIVE_ALLOC -#include "ucw/hashtable.h" +#include struct xml_dtd_attr * xml_dtd_find_attr(struct xml_context *ctx, struct xml_dtd_elem *elem, char *name) @@ -284,7 +284,7 @@ xml_dtd_evals_init_key(struct xml_dtd_evals_table *tab UNUSED, struct xml_dtd_ev #define HASH_GIVE_ALLOC #define HASH_TABLE_ALLOC XML_HASH_GIVE_ALLOC -#include "ucw/hashtable.h" +#include /* Enumerated attribute notations */ @@ -322,7 +322,7 @@ xml_dtd_enotns_init_key(struct xml_dtd_enotns_table *tab UNUSED, struct xml_dtd_ #define HASH_GIVE_ALLOC #define HASH_TABLE_ALLOC XML_HASH_GIVE_ALLOC -#include "ucw/hashtable.h" +#include /* DTD initialization/cleanup */