#include <stdio.h>
#include <zorba/config.h>
#include <xqc.h>
Go to the source code of this file.
Data Structures | |
struct | Zorba_ErrorHandler_s |
struct | Zorba_ItemSetter_s |
Zorba_ItemSetter is designed to allow external functions to set the next XQuery data model item to be returned. More... | |
struct | Zorba_OutputStream_s |
The Zorba_OutputStream struct is designed to be passed to an XQC implementation in order to return streaming data (i.e. More... | |
struct | Zorba_StaticContext_s |
Typedefs | |
typedef void(* | external_function_free )(void *user_data, void *function_user_data) |
typedef void(* | external_function_init )(void **user_data, void *function_user_data) |
typedef XQC_Error(* | external_function_next )(XQC_Sequence **args, unsigned int argc, Zorba_ItemSetter *setter, void *user_data, void *function_user_data) |
typedef struct Zorba_ErrorHandler_s | Zorba_ErrorHandler |
typedef struct Zorba_ItemSetter_s | Zorba_ItemSetter |
typedef struct Zorba_OutputStream_s | Zorba_OutputStream |
typedef struct Zorba_StaticContext_s | Zorba_StaticContext |
Functions | |
ZORBA_DLL_PUBLIC XQC_Error | zorba_implementation (XQC_Implementation **impl, void *store) |
The zorba_implementation function creates a new zorba_implementation::XQC_Implementation object. |
typedef void(* external_function_free)(void *user_data, void *function_user_data) |
typedef void(* external_function_init)(void **user_data, void *function_user_data) |
typedef XQC_Error(* external_function_next)(XQC_Sequence **args, unsigned int argc, Zorba_ItemSetter *setter, void *user_data, void *function_user_data) |
typedef struct Zorba_ErrorHandler_s Zorba_ErrorHandler |
typedef struct Zorba_ItemSetter_s Zorba_ItemSetter |
typedef struct Zorba_OutputStream_s Zorba_OutputStream |
typedef struct Zorba_StaticContext_s Zorba_StaticContext |
ZORBA_DLL_PUBLIC XQC_Error zorba_implementation | ( | XQC_Implementation ** | impl, |
void * | store | ||
) |
The zorba_implementation function creates a new zorba_implementation::XQC_Implementation object.
Thereby, the Zorba processor is initialized. The user is responsible for freeing the object by calling the free() function of the XQC_Implementation struct.
store | A pointer to the store that is being used by the Zorba instance that is created by this call. | |
[out] | impl | The newly created XQC_Implementation object. |
XQC_Error::XQC_NO_ERROR | |
XQC_INVALID_ARGUMENT |