blob: 99f6c66cafeedc8c692b6ff087755a485787af91 [file] [log] [blame]
Daniel Veillarda7374592001-05-10 14:17:55 +00001/*
2 * testCatalog.c : a small tester program for Catalog loading
3 *
4 * See Copyright for the status of this software.
5 *
6 * Daniel.Veillard@w3.org
7 */
8
9#include "libxml.h"
10
11#include <string.h>
12#include <stdio.h>
13#include <stdarg.h>
14
15#include <libxml/xmlversion.h>
16#include <libxml/xmlmemory.h>
17#include <libxml/uri.h>
18#include <libxml/catalog.h>
19
20int main(int argc, char **argv) {
21#ifdef LIBXML_CATALOG_ENABLED
22 int i;
23
24 for (i = 1; i < argc; i++)
25 xmlLoadCatalog(argv[i]);
26
27 xmlCatalogDump(stdout);
28 xmlCatalogCleanup();
29 xmlMemoryDump();
30#endif
31 return(0);
32}