blob: 88175e145b50d6694a6a74448694aa2f8678a5fc [file] [log] [blame]
Daniel Veillarda7374592001-05-10 14:17:55 +00001/**
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 Veillard017b1082001-06-21 11:20:21 +00007 * XML Catalogs Working Draft 12 Jun 2001
8 * http://www.oasis-open.org/committees/entity/spec-2001-06-12.html
9 *
Daniel Veillarda7374592001-05-10 14:17:55 +000010 * 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
24extern "C" {
25#endif
26
Daniel Veillard017b1082001-06-21 11:20:21 +000027/**
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 Veillard7d6fd212001-05-10 15:34:11 +000035int xmlLoadCatalog (const char *URL);
Daniel Veillard81418e32001-05-22 15:08:55 +000036void xmlLoadCatalogs (const char *paths);
Daniel Veillard7d6fd212001-05-10 15:34:11 +000037void xmlCatalogCleanup (void);
38void xmlCatalogDump (FILE *out);
39const xmlChar * xmlCatalogGetSystem (const xmlChar *sysID);
40const xmlChar * xmlCatalogGetPublic (const xmlChar *pubID);
Daniel Veillarda7374592001-05-10 14:17:55 +000041
42#ifdef __cplusplus
43}
44#endif
45#endif /* LIBXML_CATALOG_ENABLED */
46#endif /* __XML_CATALOG_H__ */