|
@@ -61,14 +61,14 @@ is called. The callback functions are described by the following type definitio
|
|
|
.nf
|
|
.nf
|
|
|
.ta 4n 20n 32n
|
|
.ta 4n 20n 32n
|
|
|
typedef void (*evs_deliver_fn_t) (
|
|
typedef void (*evs_deliver_fn_t) (
|
|
|
- struct evs_address source_addr,
|
|
|
|
|
|
|
+ unsigned int nodeid,
|
|
|
const void *msg,
|
|
const void *msg,
|
|
|
size_t msg_len);
|
|
size_t msg_len);
|
|
|
|
|
|
|
|
typedef void (*evs_confchg_fn_t) (
|
|
typedef void (*evs_confchg_fn_t) (
|
|
|
- const struct evs_address *member_list, size_t member_list_entries,
|
|
|
|
|
- const struct evs_address *left_list, size_t left_list_entries,
|
|
|
|
|
- const struct evs_address *joined_list, size_t joined_list_entries);
|
|
|
|
|
|
|
+ unsigned int *member_list, size_t member_list_entries,
|
|
|
|
|
+ unsigned int *left_list, size_t left_list_entries,
|
|
|
|
|
+ unsigned int *joined_list, size_t joined_list_entries);
|
|
|
.ta
|
|
.ta
|
|
|
.fi
|
|
.fi
|
|
|
.RE
|
|
.RE
|
|
@@ -101,27 +101,6 @@ is called. If a delivery of a message occurs,
|
|
|
.I evs_deliver_fn
|
|
.I evs_deliver_fn
|
|
|
is called.
|
|
is called.
|
|
|
|
|
|
|
|
-The
|
|
|
|
|
-.I evs_address
|
|
|
|
|
-structure is defined
|
|
|
|
|
-.IP
|
|
|
|
|
-.RS
|
|
|
|
|
-.ne 18
|
|
|
|
|
-.nf
|
|
|
|
|
-.PP
|
|
|
|
|
-struct evs_address {
|
|
|
|
|
- unsigned int nodeid;
|
|
|
|
|
- unsigned short family;
|
|
|
|
|
- unsigned char addr[TOTEMIP_ADDRLEN];
|
|
|
|
|
-};
|
|
|
|
|
-.ta
|
|
|
|
|
-.fi
|
|
|
|
|
-.RE
|
|
|
|
|
-.IP
|
|
|
|
|
-.PP
|
|
|
|
|
-where nodeid is a 32 bit unique node identifier, family is of the value AF_INET for an IPV4 network, or AF_INET6 for an IPV6 network, and addr is a 32 bit address for an IPV4 network, or 128 bit address for an IPV6 network.
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
.SH RETURN VALUE
|
|
.SH RETURN VALUE
|
|
|
This call returns the EVS_OK value if successful, otherwise an error is returned.
|
|
This call returns the EVS_OK value if successful, otherwise an error is returned.
|
|
|
.PP
|
|
.PP
|