Simple C Expat Wrapper (SCEW)  1.1.7
Enumerations | Functions
error.h File Reference

SCEW error handling functions. More...

#include "export.h"
#include "parser.h"
#include <expat.h>

Go to the source code of this file.

Enumerations

enum  scew_error {
  scew_error_none, scew_error_no_memory, scew_error_io, scew_error_hook,
  scew_error_expat, scew_error_internal, scew_error_unknown
}
 This is the type declaration of the SCEW error. More...
 

Functions

SCEW_API scew_error scew_error_code (void)
 Returns the SCEW internal error code. More...
 
SCEW_API XML_Char const * scew_error_string (scew_error code)
 Returns a string describing the given internal SCEW error code. More...
 
SCEW_API enum XML_Error scew_error_expat_code (scew_parser *parser)
 Returns the Expat internal error code. More...
 
SCEW_API XML_Char const * scew_error_expat_string (enum XML_Error code)
 Returns a string describing the internal Expat error for the given error code. More...
 
SCEW_API int scew_error_expat_line (scew_parser *parser)
 Returns the current line at which the error was detected. More...
 
SCEW_API int scew_error_expat_column (scew_parser *parser)
 Returns the current column at which the error was detected. More...
 

Detailed Description

SCEW error handling functions.

Author
Aleix Conchillo Flaque aleix.nosp@m.@mem.nosp@m.ber.f.nosp@m.sf.o.nosp@m.rg
Date
Mon May 05, 2003 10:29 , ,