Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
RedisLabs Raft
Commits
41282a13
Commit
41282a13
authored
Nov 09, 2015
by
Willem Thiart
Browse files
Add raft_node_get_match_idx
parent
7859e615
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/raft.h
View file @
41282a13
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment