Daniel Veillard | a737459 | 2001-05-10 14:17:55 +0000 | [diff] [blame] | 1 | /** |
| 2 | * uri.c: interfaces of the Catalog handling system |
| 3 | * |
| 4 | * Reference: SGML Open Technical Resolution TR9401:1997. |
| 5 | * http://www.jclark.com/sp/catalog.htm |
| 6 | * |
Daniel Veillard | 017b108 | 2001-06-21 11:20:21 +0000 | [diff] [blame] | 7 | * XML Catalogs Working Draft 12 Jun 2001 |
| 8 | * http://www.oasis-open.org/committees/entity/spec-2001-06-12.html |
| 9 | * |
Daniel Veillard | a737459 | 2001-05-10 14:17:55 +0000 | [diff] [blame] | 10 | * See Copyright for the status of this software. |
| 11 | * |
| 12 | * Daniel.Veillard@w3.org |
| 13 | */ |
| 14 | |
| 15 | #ifndef __XML_CATALOG_H__ |
| 16 | #define __XML_CATALOG_H__ |
| 17 | |
| 18 | #include <stdio.h> |
| 19 | |
| 20 | #include <libxml/xmlversion.h> |
| 21 | #ifdef LIBXML_CATALOG_ENABLED |
| 22 | |
| 23 | #ifdef __cplusplus |
| 24 | extern "C" { |
| 25 | #endif |
| 26 | |
Daniel Veillard | 017b108 | 2001-06-21 11:20:21 +0000 | [diff] [blame] | 27 | /** |
| 28 | * XML_CATALOGS_NAMESPACE: |
| 29 | * |
| 30 | * The namespace for the XML Catalogs elements |
| 31 | */ |
| 32 | #define XML_CATALOGS_NAMESPACE \ |
| 33 | (const xmlChar *) "urn:oasis:names:tc:entity:xmlns:xml:catalog" |
| 34 | |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 35 | int xmlLoadCatalog (const char *URL); |
Daniel Veillard | 81418e3 | 2001-05-22 15:08:55 +0000 | [diff] [blame] | 36 | void xmlLoadCatalogs (const char *paths); |
Daniel Veillard | 7d6fd21 | 2001-05-10 15:34:11 +0000 | [diff] [blame] | 37 | void xmlCatalogCleanup (void); |
| 38 | void xmlCatalogDump (FILE *out); |
| 39 | const xmlChar * xmlCatalogGetSystem (const xmlChar *sysID); |
| 40 | const xmlChar * xmlCatalogGetPublic (const xmlChar *pubID); |
Daniel Veillard | a737459 | 2001-05-10 14:17:55 +0000 | [diff] [blame] | 41 | |
| 42 | #ifdef __cplusplus |
| 43 | } |
| 44 | #endif |
| 45 | #endif /* LIBXML_CATALOG_ENABLED */ |
| 46 | #endif /* __XML_CATALOG_H__ */ |