|
|
|
@ -200,7 +200,7 @@ typedef struct __rpc_typed_list_type {
|
|
|
|
|
|
|
|
|
|
extern conn_sys_t *conn_sys; /* an old obsolete method */
|
|
|
|
|
/* old API from 0.1.xx */
|
|
|
|
|
#define connections_subsystem_init() { conn_sys = malloc(sizeof(conn_sys_t)); connections_init(conn_sys); }
|
|
|
|
|
#define connections_subsystem_init() { conn_sys = (conn_sys_t *)malloc(sizeof(conn_sys_t)); connections_init(conn_sys); }
|
|
|
|
|
|
|
|
|
|
#define connections_subsystem_setsslserts(a, b, c) connections_setsslserts(conn_sys, a, b, c)
|
|
|
|
|
|
|
|
|
@ -234,7 +234,7 @@ int connections_setrpclist_function(conn_sys_t *ssys,
|
|
|
|
|
|
|
|
|
|
/* connection - compatibility (old versions) macros */
|
|
|
|
|
#define connection_create(c, s) connection_create_fapi((c), (s), NULL)
|
|
|
|
|
#define connection_initiate(c, h, p, s, p1) connection_inititate_m(conn_sys, c, h, p, s, p1)
|
|
|
|
|
#define connection_initiate(c, h, p, s, p1) connection_initiate_m(conn_sys, c, h, p, s, p1)
|
|
|
|
|
#define connection_create_fapi(c, s, a) connection_create_fapi_m(conn_sys, c, s, a)
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|