Data Structures | Typedefs | Functions
zorbac.h File Reference
#include <stdio.h>
#include <zorba/config.h>
#include <xqc.h>
Include dependency graph for zorbac.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 Documentation

typedef void(* external_function_free)(void *user_data, void *function_user_data)

Definition at line 42 of file zorbac.h.

typedef void(* external_function_init)(void **user_data, void *function_user_data)

Definition at line 35 of file zorbac.h.

typedef XQC_Error(* external_function_next)(XQC_Sequence **args, unsigned int argc, Zorba_ItemSetter *setter, void *user_data, void *function_user_data)

Definition at line 38 of file zorbac.h.

Definition at line 30 of file zorbac.h.

Definition at line 26 of file zorbac.h.

Definition at line 28 of file zorbac.h.

Definition at line 24 of file zorbac.h.


Function Documentation

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.

Parameters:
storeA pointer to the store that is being used by the Zorba instance that is created by this call.
[out]implThe newly created XQC_Implementation object.
Return values:
XQC_Error::XQC_NO_ERROR
XQC_INVALID_ARGUMENT
blog comments powered by Disqus