41#ifndef PROTOCORE_REDIS_RESP_H
42#define PROTOCORE_REDIS_RESP_H
46#if PROTOCORE_ENABLE_REDIS
83 const char *
const *argv;
84 const size_t *argv_len;
121 RespCommandArgs command;
130extern RespVars RespV;
135 void (*
const encode_command)(uint8_t *work);
136 void (*
const parse_reply)(uint8_t *work);
141void protocore_resp_encode_command(uint8_t *work);
142void protocore_resp_parse_reply(uint8_t *work);
148static const RespNs Resp __attribute__((unused)) = {
149 .encode_command = protocore_resp_encode_command,
150 .parse_reply = protocore_resp_parse_reply,
PROTO_ENUM_PACKED
Application protocol spoken on a listener port or connection slot.
#define PROTOCORE_BEGIN_DECLS
Give a header's declarations C linkage, so their symbol names carry no parameter types.
_Bool proto_bool
The truth value.
#define PROTOCORE_END_DECLS