axl main logo
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
typedef int(* axlStreamContentCheck)(const char *source, int source_size, const char *source_encoding, axlPointer user_data, axlError **error)

A handler definition used by axl stream API to define the set of functions that can be used to check content read from a file into the axl stream buffer.

The initial intention was to allow axl babel to install an utf-8 content checked if an xml entity in utf-8 was detected but it allows more features.

This handler is configured using axl_stream_setup_check.

Parameters
sourceThe source to check.
source_sizeThe size of the source to check.
source_encodingThe source encoding found.
user_dataUser defined pointer
Returns