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
Willemt Raft
Commits
92b2f9a9
Commit
92b2f9a9
authored
Aug 01, 2015
by
Willem Thiart
Browse files
Added msg_entry_data_t
parent
e4d9ceb5
Changes
1
Show whitespace changes
Inline
Side-by-side
include/raft.h
View file @
92b2f9a9
...
...
@@ -35,16 +35,18 @@ typedef struct
int
last_log_term
;
}
msg_requestvote_t
;
typedef
struct
{
void
*
buf
;
uint32_t
len
;
}
msg_entry_data_t
;
typedef
struct
{
/* the entry's unique ID */
unsigned
int
id
;
/* entry data */
unsigned
char
*
data
;
/* length of entry data */
unsigned
int
len
;
msg_entry_data_t
data
;
}
msg_entry_t
;
typedef
struct
...
...
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