OLD | NEW |
1 /* | 1 /* |
2 * xmlIO.c : implementation of the I/O interfaces used by the parser | 2 * xmlIO.c : implementation of the I/O interfaces used by the parser |
3 * | 3 * |
4 * See Copyright for the status of this software. | 4 * See Copyright for the status of this software. |
5 * | 5 * |
6 * daniel@veillard.com | 6 * daniel@veillard.com |
7 * | 7 * |
8 * 14 Nov 2000 ht - for VMS, truncated name of long functions to under 32 char | 8 * 14 Nov 2000 ht - for VMS, truncated name of long functions to under 32 char |
9 */ | 9 */ |
10 | 10 |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 # endif | 78 # endif |
79 # endif | 79 # endif |
80 # endif | 80 # endif |
81 #endif | 81 #endif |
82 | 82 |
83 #include <libxml/xmlmemory.h> | 83 #include <libxml/xmlmemory.h> |
84 #include <libxml/parser.h> | 84 #include <libxml/parser.h> |
85 #include <libxml/parserInternals.h> | 85 #include <libxml/parserInternals.h> |
86 #include <libxml/xmlIO.h> | 86 #include <libxml/xmlIO.h> |
87 #include <libxml/uri.h> | 87 #include <libxml/uri.h> |
88 #include <libxml/nanohttp.h> | |
89 #include <libxml/nanoftp.h> | |
90 #include <libxml/xmlerror.h> | 88 #include <libxml/xmlerror.h> |
91 #ifdef LIBXML_CATALOG_ENABLED | 89 #ifdef LIBXML_CATALOG_ENABLED |
92 #include <libxml/catalog.h> | 90 #include <libxml/catalog.h> |
93 #endif | 91 #endif |
94 #include <libxml/globals.h> | 92 #include <libxml/globals.h> |
95 | 93 |
96 /* #define VERBOSE_FAILURE */ | 94 /* #define VERBOSE_FAILURE */ |
97 /* #define DEBUG_EXTERNAL_ENTITIES */ | 95 /* #define DEBUG_EXTERNAL_ENTITIES */ |
98 /* #define DEBUG_INPUT */ | 96 /* #define DEBUG_INPUT */ |
99 | 97 |
(...skipping 3885 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3985 } | 3983 } |
3986 } | 3984 } |
3987 input = xmlDefaultExternalEntityLoader((const char *) resource, ID, ctxt); | 3985 input = xmlDefaultExternalEntityLoader((const char *) resource, ID, ctxt); |
3988 if (resource != (xmlChar *) URL) | 3986 if (resource != (xmlChar *) URL) |
3989 xmlFree(resource); | 3987 xmlFree(resource); |
3990 return(input); | 3988 return(input); |
3991 } | 3989 } |
3992 | 3990 |
3993 #define bottom_xmlIO | 3991 #define bottom_xmlIO |
3994 #include "elfgcchack.h" | 3992 #include "elfgcchack.h" |
OLD | NEW |