26 #define MODULEAPI _declspec(dllimport) 40 typedef struct pipeline_argument_s pipeline_argument_t;
53 void (*
recv_status)(
pipeline_t *pipeline,
int feed,
const char *subject,
int status,
int code,
char *status_message);
57 int (*exec_function)(
pipeline_t *pipe,
const char *func,
int argc,
char *argv[]);
58 int (*exec_with_args)(
pipeline_t *pipe,
const char *func,
int num_args, pipeline_argument_t *args);
59 int (*exec_with_args_ret)(
pipeline_t *pipe,
const char *func,
int num_args, pipeline_argument_t *args, pipeline_argument_t *ret_args);
95 struct pipeline_argument_s {
103 pipeline_argument_t *values;
111 #define NATIVE_FUNC(funcname,paramname) pipeline_return_type_t (funcname)(void *(paramname)) 112 typedef int pipeline_return_type_t;
113 typedef pipeline_return_type_t (*pipeline_cb)(
void *state);
127 int (*func)(
void *state);
177 int (*pipeline_register_function)(
char *name, pipeline_cb callback);
220 pipeline_return_type_t (*pipeline_return)(
void *state);
259 int (*pipeline_database_insert)(
const char *symbol,
const char *key,
pipeline_datatype_t type,
void *dataptr);
270 int (*pipeline_database_retrieve)(
const char *symbol,
const char *key,
pipeline_datatype_t *type,
void **dataptr);
284 int (*pipeline_database_delete)(
const char *symbol);
293 int (*pipeline_register_function_closure)(
char *name, pipeline_cb callback,
void *closure);
306 void *(*pipeline_get_closure)(
void *state);
312 int (*pipeline_setret_array)(
void *state,
int num,
char **array);
323 int (*pipeline_setret_map)(
void *state,
int num,
char **map_values);
343 int (*pipeline_getarg_from_map)(
void *state,
int argnum,
const char *key,
pipeline_datatype_t type,
void *dest);
359 int (*pipeline_getarg_map_keys)(
void *state,
int argnum,
char ***dest);
382 int (*pipeline_get_num_args)(
void *state);
403 int (*pipeline_call_func)(
void *state,
int argnum, pipeline_argument_t *args,
int num_args);
Pipeline execution functions.
Definition: pipeline.h:50
void(* recv_nodata)(pipeline_t *pipeline, int feed, const char *subject, int flags)
Definition: pipeline.h:52
Interface returned to other modules which require integration with the pipeline.
Definition: pipeline.h:173
List of library functions to be registered.
Definition: pipeline.h:124
Definition: pipeline.h:90
char * initialise
Definition: pipeline.h:66
Definition: pipeline.h:85
int version
Definition: pipeline.h:174
char * nodata
Definition: pipeline.h:68
char * request
Definition: pipeline.h:70
void(* recv_update)(pipeline_t *pipeline, int feed, ds_data_t *dsdata, time_t tim, int update_from_memory_file)
Definition: pipeline.h:51
Definition: pipeline.h:86
void(* recv_udp_signal)(pipeline_t *pipeline, const char *msg)
Definition: pipeline.h:56
int(* handle_discard)(pipeline_t *pipeline, int feed, const char *subject)
Definition: pipeline.h:55
char * discard
Definition: pipeline.h:71
Definition: pipeline.h:88
Definition: pipeline.h:91
char * status
Definition: pipeline.h:69
List of library constants to be registered.
Definition: pipeline.h:153
const char * string
Definition: pipeline.h:156
int patch
Definition: pipeline.h:175
int(* handle_request)(pipeline_t *pipeline, int feed, const char *subject)
Definition: pipeline.h:54
Definition: pipeline.h:82
struct _ds_log ds_log_t
The log file object.
Definition: datasrc.h:174
pipeline_datatype_t
Argument types.
Definition: pipeline.h:81
Names of the event handlers within the pipeline.
Definition: pipeline.h:65
char * update
Definition: pipeline.h:67
const char * js_name
Definition: pipeline.h:126
Definition: pipeline.h:87
A data update object.
Definition: datasrc.h:2477
int value
Definition: pipeline.h:155
Definition: pipeline.h:83
Definition: pipeline.h:89
Definition: pipeline.h:84
char * name
Definition: pipeline.h:154
const char * lua_name
Definition: pipeline.h:125
char * udpsig
Definition: pipeline.h:72
void(* recv_status)(pipeline_t *pipeline, int feed, const char *subject, int status, int code, char *status_message)
Definition: pipeline.h:53