43typedef enum as_module_event_type_e {
43typedef enum as_module_event_type_e {
…};
51typedef struct as_module_event_data_s {
51typedef struct as_module_event_data_s {
…};
56typedef struct as_module_event_s {
56typedef struct as_module_event_s {
…};
61typedef struct as_module_error_s {
61typedef struct as_module_error_s {
…};
74typedef struct as_module_hooks_s {
78 int (*destroy)(
struct as_module_s*
m);
88 int (*validate)(
struct as_module_s*
m, as_aerospike* as,
const char* filename,
94 int (*apply_record)(
struct as_module_s*
m,
as_udf_context* ctx,
const char* filename,
74typedef struct as_module_hooks_s { {
…};
109typedef struct as_module_s {
109typedef struct as_module_s {
…};
int as_module_destroy(as_module *m)
int as_module_apply_stream(as_module *m, as_udf_context *ctx, const char *filename, const char *function, as_stream *istream, as_list *args, as_stream *ostream, as_result *res)
int as_module_validate(as_module *m, as_aerospike *as, const char *filename, const char *content, uint32_t size, as_module_error *error)
void * as_module_source(as_module *m)
int as_module_apply_record(as_module *m, as_udf_context *ctx, const char *filename, const char *function, as_rec *r, as_list *args, as_result *res)
char * as_module_err_string(int e)
@ AS_MODULE_EVENT_FILE_REMOVE
@ AS_MODULE_EVENT_CLEAR_CACHE
@ AS_MODULE_EVENT_FILE_SCAN
@ AS_MODULE_EVENT_CONFIGURE
@ AS_MODULE_EVENT_FILE_ADD
int as_module_update(as_module *m, as_module_event *e)
int as_module_configure(as_module *m, void *c)
as_module_event_type type
as_module_event_data data
const as_module_hooks * hooks