redict/tests/modules
Wang Yuan d697daa7a5
Use const char pointer in redismodule.h as far as possible (#10064)
When I used C++ to develop a redis module. i  used `string.data()` as the second parameter `ele`
of  `RedisModule_DigestAddStringBuffer`, but there is a warning, since we never change the `ele`,
i think we should use `const char` for it.

This PR adds const to just a handful of module APIs that required it, all not very widely used.
The implication is a breaking change in terms of compilation error that's easy to resolve, and no ABI impact.
The affected APIs are around Digest, Info injection, and Cluster bus messages.
2022-01-18 15:55:20 +02:00
..
aclcheck.c Modules: Mark all APIs non-experimental (#9983) 2021-12-30 12:17:22 +02:00
auth.c Modules: Mark all APIs non-experimental (#9983) 2021-12-30 12:17:22 +02:00
basics.c Modules: Mark all APIs non-experimental (#9983) 2021-12-30 12:17:22 +02:00
blockedclient.c Modules: Mark all APIs non-experimental (#9983) 2021-12-30 12:17:22 +02:00
blockonbackground.c Modules: Mark all APIs non-experimental (#9983) 2021-12-30 12:17:22 +02:00
blockonkeys.c Modules: Mark all APIs non-experimental (#9983) 2021-12-30 12:17:22 +02:00
commandfilter.c Modules: Mark all APIs non-experimental (#9983) 2021-12-30 12:17:22 +02:00
datatype2.c Use const char pointer in redismodule.h as far as possible (#10064) 2022-01-18 15:55:20 +02:00
datatype.c Sort out the mess around writable replicas and lookupKeyRead/Write (#9572) 2021-11-28 11:26:28 +02:00
defragtest.c Modules: Mark all APIs non-experimental (#9983) 2021-12-30 12:17:22 +02:00
eventloop.c Add event loop support to the module API (#10001) 2022-01-18 13:10:07 +02:00
fork.c Modules: Mark all APIs non-experimental (#9983) 2021-12-30 12:17:22 +02:00
getkeys.c Modules: Mark all APIs non-experimental (#9983) 2021-12-30 12:17:22 +02:00
hash.c Sort out the mess around writable replicas and lookupKeyRead/Write (#9572) 2021-11-28 11:26:28 +02:00
hooks.c Always create base AOF file when redis start from empty. (#10102) 2022-01-13 08:49:26 +02:00
infotest.c Escape unsafe field name characters in INFO. (#8492) 2021-02-15 17:08:53 +02:00
keyspace_events.c Modules: Mark all APIs non-experimental (#9983) 2021-12-30 12:17:22 +02:00
keyspecs.c Auto-generate the command table from JSON files (#9656) 2021-12-15 21:23:15 +02:00
list.c Sort out the mess around writable replicas and lookupKeyRead/Write (#9572) 2021-11-28 11:26:28 +02:00
Makefile Add event loop support to the module API (#10001) 2022-01-18 13:10:07 +02:00
misc.c Added RM_MonotonicMicroseconds() API to provide monotonic time function (#10101) 2022-01-13 11:36:03 +02:00
propagate.c Modules: Mark all APIs non-experimental (#9983) 2021-12-30 12:17:22 +02:00
reply.c Add RM_ReplyWithBigNumber module API (#9639) 2021-10-25 11:31:20 +03:00
scan.c Replace deprecated REDISMODULE_POSTPONED_ARRAY_LEN in module tests and examples (#9677) 2021-10-25 12:00:43 +03:00
stream.c Sort out the mess around writable replicas and lookupKeyRead/Write (#9572) 2021-11-28 11:26:28 +02:00
subcommands.c Auto-generate the command table from JSON files (#9656) 2021-12-15 21:23:15 +02:00
test_lazyfree.c Sort out the mess around writable replicas and lookupKeyRead/Write (#9572) 2021-11-28 11:26:28 +02:00
testrdb.c Sort out the mess around writable replicas and lookupKeyRead/Write (#9572) 2021-11-28 11:26:28 +02:00
timer.c Modules: Mark all APIs non-experimental (#9983) 2021-12-30 12:17:22 +02:00
zset.c Sort out the mess around writable replicas and lookupKeyRead/Write (#9572) 2021-11-28 11:26:28 +02:00