Eneboo - Documentación para desarrolladores
'defines' | Funciones
Referencia del Archivo src/libdigidoc/libxml2/error.c
#include "libxml.h"
#include <string.h>
#include <stdarg.h>
#include <libxml/parser.h>
#include <libxml/xmlerror.h>
#include <libxml/xmlmemory.h>
#include <libxml/globals.h>
#include "elfgcchack.h"

'defines'

#define IN_LIBXML
#define XML_GET_VAR_STR(msg, str)
#define bottom_error

Funciones

void XMLCDECL xmlGenericErrorDefaultFunc (void *ctx ATTRIBUTE_UNUSED, const char *msg,...)
void initGenericErrorDefaultFunc (xmlGenericErrorFunc *handler)
void xmlSetGenericErrorFunc (void *ctx, xmlGenericErrorFunc handler)
void xmlSetStructuredErrorFunc (void *ctx, xmlStructuredErrorFunc handler)
void xmlParserPrintFileInfo (xmlParserInputPtr input)
void xmlParserPrintFileContext (xmlParserInputPtr input)

Documentación de los 'defines'

#define bottom_error
#define IN_LIBXML
#define XML_GET_VAR_STR (   msg,
  str 
)

Documentación de las funciones

void initGenericErrorDefaultFunc ( xmlGenericErrorFunc *  handler)

initGenericErrorDefaultFunc: : the handler

Set or reset (if NULL) the default handler for generic errors to the builtin error function.

void XMLCDECL xmlGenericErrorDefaultFunc ( void *ctx  ATTRIBUTE_UNUSED,
const char *  msg,
  ... 
)

xmlGenericErrorDefaultFunc: : an error context : the message to display/transmit @...: extra parameters for the message display

Default handler for out of context error messages.

void xmlParserPrintFileContext ( xmlParserInputPtr  input)

xmlParserPrintFileContext: : an xmlParserInputPtr input

Displays current context within the input content for error tracking

void xmlParserPrintFileInfo ( xmlParserInputPtr  input)

xmlParserPrintFileInfo: : an xmlParserInputPtr input

Displays the associated file and line informations for the current input

void xmlSetGenericErrorFunc ( void *  ctx,
xmlGenericErrorFunc  handler 
)

xmlSetGenericErrorFunc: : the new error handling context : the new handler function

Function to reset the handler and the error context for out of context error messages. This simply means that will be called for subsequent error messages while not parsing nor validating. And will be passed as first argument to One can simply force messages to be emitted to another FILE * than stderr by setting to this file handle and to NULL. For multi-threaded applications, this must be set separately for each thread.

void xmlSetStructuredErrorFunc ( void *  ctx,
xmlStructuredErrorFunc  handler 
)

xmlSetStructuredErrorFunc: : the new error handling context : the new handler function

Function to reset the handler and the error context for out of context structured error messages. This simply means that will be called for subsequent error messages while not parsing nor validating. And will be passed as first argument to For multi-threaded applications, this must be set separately for each thread.

 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'