43 typedef enum as_module_event_type_e {
51 typedef struct as_module_event_data_s {
56 typedef struct as_module_event_s {
61 typedef struct as_module_error_s {
74 typedef 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,
109 typedef struct as_module_s {
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)
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)
const as_module_hooks * hooks
int as_module_configure(as_module *m, void *c)
int as_module_validate(as_module *m, as_aerospike *as, const char *filename, const char *content, uint32_t size, as_module_error *error)
as_module_event_data data
as_module_event_type type
void * as_module_source(as_module *m)
int as_module_update(as_module *m, as_module_event *e)
char * as_module_err_string(int e)
int as_module_destroy(as_module *m)