diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-01-21 22:52:54 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-01-21 22:52:54 +0100 |
| commit | dcacc00e3750300617ba6e16eb346713f91a783a (patch) | |
| tree | 38e2d4fb5ed9d119711d4295c6eda4b014af73fd /examples/redis-unstable/src/call_reply.h | |
| parent | 58dac10aeb8f5a041c46bddbeaf4c7966a99b998 (diff) | |
| download | crep-dcacc00e3750300617ba6e16eb346713f91a783a.tar.gz | |
Remove testing data
Diffstat (limited to 'examples/redis-unstable/src/call_reply.h')
| -rw-r--r-- | examples/redis-unstable/src/call_reply.h | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/examples/redis-unstable/src/call_reply.h b/examples/redis-unstable/src/call_reply.h deleted file mode 100644 index 4ae7f3c..0000000 --- a/examples/redis-unstable/src/call_reply.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) 2009-Present, Redis Ltd. - * All rights reserved. - * - * Licensed under your choice of (a) the Redis Source Available License 2.0 - * (RSALv2); or (b) the Server Side Public License v1 (SSPLv1); or (c) the - * GNU Affero General Public License v3 (AGPLv3). - */ - -#ifndef SRC_CALL_REPLY_H_ -#define SRC_CALL_REPLY_H_ - -#include "resp_parser.h" - -typedef struct CallReply CallReply; -typedef void (*RedisModuleOnUnblocked)(void *ctx, CallReply *reply, void *private_data); - -CallReply *callReplyCreate(sds reply, list *deferred_error_list, void *private_data); -CallReply *callReplyCreateError(sds reply, void *private_data); -int callReplyType(CallReply *rep); -const char *callReplyGetString(CallReply *rep, size_t *len); -long long callReplyGetLongLong(CallReply *rep); -double callReplyGetDouble(CallReply *rep); -int callReplyGetBool(CallReply *rep); -size_t callReplyGetLen(CallReply *rep); -CallReply *callReplyGetArrayElement(CallReply *rep, size_t idx); -CallReply *callReplyGetSetElement(CallReply *rep, size_t idx); -int callReplyGetMapElement(CallReply *rep, size_t idx, CallReply **key, CallReply **val); -CallReply *callReplyGetAttribute(CallReply *rep); -int callReplyGetAttributeElement(CallReply *rep, size_t idx, CallReply **key, CallReply **val); -const char *callReplyGetBigNumber(CallReply *rep, size_t *len); -const char *callReplyGetVerbatim(CallReply *rep, size_t *len, const char **format); -const char *callReplyGetProto(CallReply *rep, size_t *len); -void *callReplyGetPrivateData(CallReply *rep); -int callReplyIsResp3(CallReply *rep); -list *callReplyDeferredErrorList(CallReply *rep); -void freeCallReply(CallReply *rep); -CallReply *callReplyCreatePromise(void *private_data); - -#endif /* SRC_CALL_REPLY_H_ */ |
