23#ifndef GR_MESSAGE_SERVICE_EXAMPLE_H
24#define GR_MESSAGE_SERVICE_EXAMPLE_H
42 unsigned long *
length,
unsigned char *,
unsigned char *);
An example implementation of a module that uses GR send service.
Definition: gr_message_service_example.h:34
bool unregister_example()
Unregister send method, will not allow send service message from GR.
Definition: gr_message_service_example.cc:248
bool register_example()
Register send method to send service message from GR.
Definition: gr_message_service_example.cc:190
static bool udf_init(UDF_INIT *init_id, UDF_ARGS *args, char *message)
UDF initialization procedure.
Definition: gr_message_service_example.cc:173
static char * udf(UDF_INIT *, UDF_ARGS *args, char *result, unsigned long *length, unsigned char *, unsigned char *)
UDF that will be called to send data to Group Replication send service.
Definition: gr_message_service_example.cc:124
bool gr_service_message_example_deinit()
This function unregister examples that uses services recv and send of Group replication.
Definition: gr_message_service_example.cc:311
bool gr_service_message_example_init()
This function register examples that uses services recv and send of Group replication.
Definition: gr_message_service_example.cc:289
bool length(const dd::Spatial_reference_system *srs, const Geometry *g1, double *length, bool *null) noexcept
Computes the length of linestrings and multilinestrings.
Definition: length.cc:75
Definition: udf_registration_types.h:47
Information about the result of a user defined function.
Definition: udf_registration_types.h:65