Commit 41282a13 authored by Willem Thiart's avatar Willem Thiart
Browse files

Add raft_node_get_match_idx

parent 7859e615
......@@ -479,6 +479,10 @@ int raft_node_is_leader(raft_node_t* node);
* @return the node's next index */
int raft_node_get_next_idx(raft_node_t* node);
/**
* @return this node's user data */
int raft_node_get_match_idx(raft_node_t* me);
/**
* @return this node's user data */
void* raft_node_get_udata(raft_node_t* me);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment