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
3eaff294
Commit
3eaff294
authored
Oct 04, 2019
by
antirez
Browse files
Modules: RM_Call(): give pointer to documentation.
parent
2a81e49d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/module.c
View file @
3eaff294
...
@@ -2857,7 +2857,10 @@ fmterr:
...
@@ -2857,7 +2857,10 @@ fmterr:
* NULL is returned and errno is set to the following values:
* NULL is returned and errno is set to the following values:
*
*
* EINVAL: command non existing, wrong arity, wrong format specifier.
* EINVAL: command non existing, wrong arity, wrong format specifier.
* EPERM: operation in Cluster instance with key in non local slot. */
* EPERM: operation in Cluster instance with key in non local slot.
*
* This API is documented here: https://redis.io/topics/modules-intro
*/
RedisModuleCallReply
*
RM_Call
(
RedisModuleCtx
*
ctx
,
const
char
*
cmdname
,
const
char
*
fmt
,
...)
{
RedisModuleCallReply
*
RM_Call
(
RedisModuleCtx
*
ctx
,
const
char
*
cmdname
,
const
char
*
fmt
,
...)
{
struct
redisCommand
*
cmd
;
struct
redisCommand
*
cmd
;
client
*
c
=
NULL
;
client
*
c
=
NULL
;
...
...
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