* Remove compile warnings about type name changes in corosync_tpg_group
*/
typedef int (*typedef_tpg_join) (
- hdb_handle_t,
+ void *,
const struct corosync_tpg_group *,
size_t);
-typedef int (*typedef_tpg_leave) (hdb_handle_t,
+typedef int (*typedef_tpg_leave) (void *,
const struct corosync_tpg_group *,
size_t);
typedef int (*typedef_tpg_groups_mcast_groups) (
- hdb_handle_t, int,
+ void *, int,
const struct corosync_tpg_group *,
size_t groups_cnt,
const struct iovec *,
unsigned int);
typedef int (*typedef_tpg_groups_send_ok) (
- hdb_handle_t,
+ void *,
const struct corosync_tpg_group *,
size_t groups_cnt,
struct iovec *,
struct ykd_state ykd_state;
-static hdb_handle_t ykd_group_handle;
+static void *ykd_group_handle;
static struct state_received state_received_confchg[YKD_PROCESSOR_COUNT_MAX];
* wanting their own groups
*/
int (*tpg_init) (
- hdb_handle_t *handle,
+ void **instance,
void (*deliver_fn) (
unsigned int nodeid,
const struct memb_ring_id *ring_id));
int (*tpg_exit) (
- hdb_handle_t handle);
+ void *instance);
int (*tpg_join) (
- hdb_handle_t handle,
+ void *instance,
const struct corosync_tpg_group *groups,
size_t group_cnt);
int (*tpg_leave) (
- hdb_handle_t handle,
+ void *instance,
const struct corosync_tpg_group *groups,
size_t group_cnt);
int (*tpg_joined_mcast) (
- hdb_handle_t handle,
+ void *totempg_groups_instance,
const struct iovec *iovec,
unsigned int iov_len,
int guarantee);
int (*tpg_joined_reserve) (
- hdb_handle_t handle,
+ void *totempg_groups_instance,
const struct iovec *iovec,
unsigned int iov_len);
int reserved_msgs);
int (*tpg_groups_mcast) (
- hdb_handle_t handle,
+ void *instance,
int guarantee,
const struct corosync_tpg_group *groups,
size_t groups_cnt,
unsigned int iov_len);
int (*tpg_groups_reserve) (
- hdb_handle_t handle,
+ void *instance,
const struct corosync_tpg_group *groups,
size_t groups_cnt,
const struct iovec *iovec,