26 #define MODULEAPI _declspec(dllimport) 38 typedef struct pipeline_argument_s pipeline_argument_t;
52 void (*
recv_status)(
pipeline_t *pipeline,
int feed,
const char *subject,
int status,
int code,
char *status_message);
56 int (*exec_function)(
pipeline_t *pipe,
const char *func,
int argc,
char *argv[]);
57 int (*exec_with_args)(
pipeline_t *pipe,
const char *func,
int num_args, pipeline_argument_t *args);
88 struct pipeline_argument_s {
101 #define NATIVE_FUNC(funcname,paramname) pipeline_return_type_t (funcname)(void *(paramname)) 102 typedef int (*pipeline_cb)(
void *state);
103 typedef int pipeline_return_type_t;
124 int (*pipeline_register_function)(
char *name, pipeline_cb callback);
162 pipeline_return_type_t (*pipeline_return)(
void *state);
200 int (*pipeline_database_insert)(
const char *symbol,
const char *key,
pipeline_datatype_t type,
void *dataptr);
211 int (*pipeline_database_retrieve)(
const char *symbol,
const char *key,
pipeline_datatype_t *type,
void **dataptr);
225 int (*pipeline_database_delete)(
const char *symbol);
234 int (*pipeline_register_function_closure)(
char *name, pipeline_cb callback,
void *closure);
247 void *(*pipeline_get_closure)(
void *state);
253 int (*pipeline_setret_array)(
void *state,
int num,
char **array);
264 int (*pipeline_setret_map)(
void *state,
int num,
char **map_values);
284 int (*pipeline_getarg_from_map)(
void *state,
int argnum,
const char *key,
pipeline_datatype_t type,
void *dest);
300 int (*pipeline_getarg_map_keys)(
void *state,
int argnum,
char ***dest);
325 int (*pipeline_get_num_args)(
void *state);
Pipeline execution functions.
Definition: pipeline.h:49
void(* recv_nodata)(pipeline_t *pipeline, int feed, const char *subject, int flags)
Definition: pipeline.h:51
Interface returned to other modules which require integration with the pipeline.
Definition: pipeline.h:120
char * initialise
Definition: pipeline.h:64
Definition: pipeline.h:83
int version
Definition: pipeline.h:121
char * nodata
Definition: pipeline.h:66
char * request
Definition: pipeline.h:68
void(* recv_update)(pipeline_t *pipeline, int feed, ds_data_t *dsdata, time_t tim, int update_from_memory_file)
Definition: pipeline.h:50
Definition: pipeline.h:84
void(* recv_udp_signal)(pipeline_t *pipeline, const char *msg)
Definition: pipeline.h:55
int(* handle_discard)(pipeline_t *pipeline, int feed, const char *subject)
Definition: pipeline.h:54
char * discard
Definition: pipeline.h:69
char * status
Definition: pipeline.h:67
int patch
Definition: pipeline.h:122
int(* handle_request)(pipeline_t *pipeline, int feed, const char *subject)
Definition: pipeline.h:53
Definition: pipeline.h:80
struct _ds_log ds_log_t
The log file object.
Definition: datasrc.h:186
pipeline_datatype_t
Argument types.
Definition: pipeline.h:79
Names of the event handlers within the pipeline.
Definition: pipeline.h:63
char * update
Definition: pipeline.h:65
Definition: pipeline.h:85
A data update object.
Definition: datasrc.h:2425
Definition: pipeline.h:81
Definition: pipeline.h:82
char * udpsig
Definition: pipeline.h:70
void(* recv_status)(pipeline_t *pipeline, int feed, const char *subject, int status, int code, char *status_message)
Definition: pipeline.h:52