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
redis
Commits
dd3b545d
Unverified
Commit
dd3b545d
authored
Apr 10, 2022
by
zhl49
Committed by
GitHub
Apr 10, 2022
Browse files
Fix an mistake in comment (#10560)
copy paste error.. Co-authored-by:
Oran Agra
<
oran@redislabs.com
>
parent
ee17e7af
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/resp_parser.h
View file @
dd3b545d
...
@@ -68,10 +68,10 @@ typedef struct ReplyParserCallbacks {
...
@@ -68,10 +68,10 @@ typedef struct ReplyParserCallbacks {
/* Called when the parser reaches a double (','), which is passed as an argument 'val' */
/* Called when the parser reaches a double (','), which is passed as an argument 'val' */
void
(
*
double_callback
)(
void
*
ctx
,
double
val
,
const
char
*
proto
,
size_t
proto_len
);
void
(
*
double_callback
)(
void
*
ctx
,
double
val
,
const
char
*
proto
,
size_t
proto_len
);
/* Called when the parser reaches a big number ('
,
'), which is passed as 'str' along with its length 'len' */
/* Called when the parser reaches a big number ('
(
'), which is passed as 'str' along with its length 'len' */
void
(
*
big_number_callback
)(
void
*
ctx
,
const
char
*
str
,
size_t
len
,
const
char
*
proto
,
size_t
proto_len
);
void
(
*
big_number_callback
)(
void
*
ctx
,
const
char
*
str
,
size_t
len
,
const
char
*
proto
,
size_t
proto_len
);
/* Called when the parser reaches a string, which is passed as 'str' along with its 'format' and length 'len' */
/* Called when the parser reaches a string
('=')
, which is passed as 'str' along with its 'format' and length 'len' */
void
(
*
verbatim_string_callback
)(
void
*
ctx
,
const
char
*
format
,
const
char
*
str
,
size_t
len
,
const
char
*
proto
,
size_t
proto_len
);
void
(
*
verbatim_string_callback
)(
void
*
ctx
,
const
char
*
format
,
const
char
*
str
,
size_t
len
,
const
char
*
proto
,
size_t
proto_len
);
/* Called when the parser reaches an attribute ('|'). The attribute length is passed as an argument 'len' */
/* Called when the parser reaches an attribute ('|'). The attribute length is passed as an argument 'len' */
...
...
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