version 1.33, 2000/09/10 16:01:05
|
version 1.34, 2000/10/04 12:33:49
|
Line 644 xmlRegisterOutputCallbacks(xmlOutputMatc
|
Line 644 xmlRegisterOutputCallbacks(xmlOutputMatc
|
*/ |
*/ |
void |
void |
xmlRegisterDefaultInputCallbacks(void) { |
xmlRegisterDefaultInputCallbacks(void) { |
|
if (xmlInputCallbackInitialized) |
|
return; |
|
|
xmlRegisterInputCallbacks(xmlFileMatch, xmlFileOpen, |
xmlRegisterInputCallbacks(xmlFileMatch, xmlFileOpen, |
xmlFileRead, xmlFileClose); |
xmlFileRead, xmlFileClose); |
#ifdef HAVE_ZLIB_H |
#ifdef HAVE_ZLIB_H |
Line 660 xmlRegisterDefaultInputCallbacks(void) {
|
Line 663 xmlRegisterDefaultInputCallbacks(void) {
|
xmlRegisterInputCallbacks(xmlIOFTPMatch, xmlIOFTPOpen, |
xmlRegisterInputCallbacks(xmlIOFTPMatch, xmlIOFTPOpen, |
xmlIOFTPRead, xmlIOFTPClose); |
xmlIOFTPRead, xmlIOFTPClose); |
#endif /* LIBXML_FTP_ENABLED */ |
#endif /* LIBXML_FTP_ENABLED */ |
|
xmlInputCallbackInitialized = 1; |
} |
} |
|
|
/** |
/** |
Line 669 xmlRegisterDefaultInputCallbacks(void) {
|
Line 673 xmlRegisterDefaultInputCallbacks(void) {
|
*/ |
*/ |
void |
void |
xmlRegisterDefaultOutputCallbacks(void) { |
xmlRegisterDefaultOutputCallbacks(void) { |
|
if (xmlOutputCallbackInitialized) |
|
return; |
|
|
xmlRegisterOutputCallbacks(xmlFileMatch, xmlFileOpenW, |
xmlRegisterOutputCallbacks(xmlFileMatch, xmlFileOpenW, |
xmlFileWrite, xmlFileClose); |
xmlFileWrite, xmlFileClose); |
/********************************* |
/********************************* |
Line 693 xmlRegisterDefaultOutputCallbacks(void)
|
Line 700 xmlRegisterDefaultOutputCallbacks(void)
|
xmlIOFTPWrite, xmlIOFTPClose); |
xmlIOFTPWrite, xmlIOFTPClose); |
#endif |
#endif |
**********************************/ |
**********************************/ |
|
xmlOutputCallbackInitialized = 1; |
} |
} |
|
|
/** |
/** |