-
Notifications
You must be signed in to change notification settings - Fork 17
/
lib_mysqludf_amqp.h
26 lines (19 loc) · 1.13 KB
/
lib_mysqludf_amqp.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef __LIB_MYSQLUDF_AMQP_H
#define __LIB_MYSQLUDF_AMQP_H
/* Public User Defined Functions for MySQL */
#ifdef __cplusplus
extern "C" {
#endif
extern my_bool lib_mysqludf_amqp_info_init(UDF_INIT *initid, UDF_ARGS *args, char *message);
extern char *lib_mysqludf_amqp_info(UDF_INIT *initid, UDF_ARGS *args, char *result, unsigned long *length, char *is_null, char *error);
extern void lib_mysqludf_amqp_info_deinit(UDF_INIT *initid);
extern my_bool lib_mysqludf_amqp_sendjson_init(UDF_INIT *initid, UDF_ARGS *args, char *message);
extern char *lib_mysqludf_amqp_sendjson(UDF_INIT *initid, UDF_ARGS *args, char *result, unsigned long *length, char *is_null, char *error);
extern void lib_mysqludf_amqp_sendjson_deinit(UDF_INIT *initid);
extern my_bool lib_mysqludf_amqp_sendstring_init(UDF_INIT *initid, UDF_ARGS *args, char *message);
extern char *lib_mysqludf_amqp_sendstring(UDF_INIT *initid, UDF_ARGS *args, char *result, unsigned long *length, char *is_null, char *error);
extern void lib_mysqludf_amqp_sendstring_deinit(UDF_INIT *initid);
#ifdef __cplusplus
}
#endif
#endif /* __LIB_MYSQLUDF_AMQP_H */