ReactOS 0.4.15-dev-7924-g5949c20
xmlIO.c File Reference
#include "libxml.h"
#include <string.h>
#include <stdlib.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <libxml/xmlmemory.h>
#include <libxml/parser.h>
#include <libxml/parserInternals.h>
#include <libxml/xmlIO.h>
#include <libxml/uri.h>
#include <libxml/nanohttp.h>
#include <libxml/nanoftp.h>
#include <libxml/xmlerror.h>
#include <libxml/globals.h>
#include "buf.h"
#include "enc.h"
Include dependency graph for xmlIO.c:

Go to the source code of this file.

Classes

struct  _xmlInputCallback
 

Macros

#define IN_LIBXML
 
#define MINLEN   4000
 
#define MAX_INPUT_CALLBACK   15
 
#define IS_XMLPGD_SEP(ch)   (ch=='/')
 

Typedefs

typedef struct _xmlInputCallback xmlInputCallback
 

Functions

static void xmlIOErrMemory (const char *extra)
 

Variables

static xmlInputCallback xmlInputCallbackTable [MAX_INPUT_CALLBACK]
 
static int xmlInputCallbackNr = 0
 
static int xmlInputCallbackInitialized = 0
 
static const char *const IOerr []
 

Macro Definition Documentation

◆ IN_LIBXML

#define IN_LIBXML

Definition at line 11 of file xmlIO.c.

◆ IS_XMLPGD_SEP

#define IS_XMLPGD_SEP (   ch)    (ch=='/')

◆ MAX_INPUT_CALLBACK

#define MAX_INPUT_CALLBACK   15

Definition at line 96 of file xmlIO.c.

◆ MINLEN

#define MINLEN   4000

Definition at line 83 of file xmlIO.c.

Typedef Documentation

◆ xmlInputCallback

Function Documentation

◆ xmlIOErrMemory()

static void xmlIOErrMemory ( const char extra)
static

xmlIOErrMemory: @extra: extra information

Handle an out of memory condition

Definition at line 228 of file xmlIO.c.

229{
230 __xmlSimpleError(XML_FROM_IO, XML_ERR_NO_MEMORY, NULL, NULL, extra);
231}
#define NULL
Definition: types.h:112
@ extra
Definition: id3.c:95
@ XML_FROM_IO
Definition: xmlerror.h:45
@ XML_ERR_NO_MEMORY
Definition: xmlerror.h:102

Variable Documentation

◆ IOerr

const char* const IOerr[]
static

Definition at line 129 of file xmlIO.c.

◆ xmlInputCallbackInitialized

int xmlInputCallbackInitialized = 0
static

Definition at line 100 of file xmlIO.c.

◆ xmlInputCallbackNr

int xmlInputCallbackNr = 0
static

Definition at line 99 of file xmlIO.c.

◆ xmlInputCallbackTable

xmlInputCallback xmlInputCallbackTable[MAX_INPUT_CALLBACK]
static

Definition at line 98 of file xmlIO.c.