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
hiredis
Commits
ef0864c5
Commit
ef0864c5
authored
Jul 05, 2011
by
Pieter Noordhuis
Browse files
Reorder struct
parent
09346dcc
Changes
1
Hide whitespace changes
Inline
Side-by-side
parser.h
View file @
ef0864c5
...
...
@@ -27,16 +27,14 @@ struct redis_parser_cb_s {
};
struct
redis_protocol_s
{
unsigned
char
type
;
/* payload type */
const
redis_protocol_t
*
parent
;
/* when nested, parent object */
int64_t
remaining
;
/* remaining bulk bytes/nested objects */
void
*
data
;
/* user data */
size_t
poff
;
/* protocol offset */
size_t
plen
;
/* protocol length */
size_t
coff
;
/* content offset */
size_t
clen
;
/* content length */
unsigned
char
type
;
/* payload type */
int64_t
remaining
;
/* remaining bulk bytes/nested objects */
const
redis_protocol_t
*
parent
;
/* when nested, parent object */
void
*
data
;
/* user data */
};
struct
redis_parser_s
{
...
...
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