#include <stdio.h>
#include <zorba/config.h>
#include <xqc.h>
Go to the source code of this file.
|
ZORBA_DLL_PUBLIC XQC_Error | zorba_implementation (XQC_Implementation **impl, void *store) |
| The zorba_implementation function creates a new zorba_implementation::XQC_Implementation object. More...
|
|
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) |
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
-
| 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. |
- Return values
-
XQC_Error::XQC_NO_ERROR | |
XQC_INVALID_ARGUMENT | |