Lines Matching refs:rediscmd
184 struct redisCommand *rediscmd; member
703 struct redisCommand *rediscmd; in RM_CreateCommand() local
723 cp->rediscmd = zmalloc(sizeof(*rediscmd)); in RM_CreateCommand()
724 cp->rediscmd->name = cmdname; in RM_CreateCommand()
725 cp->rediscmd->proc = RedisModuleCommandDispatcher; in RM_CreateCommand()
726 cp->rediscmd->arity = -1; in RM_CreateCommand()
727 cp->rediscmd->flags = flags | CMD_MODULE; in RM_CreateCommand()
728 cp->rediscmd->getkeys_proc = (redisGetKeysProc*)(unsigned long)cp; in RM_CreateCommand()
729 cp->rediscmd->firstkey = firstkey; in RM_CreateCommand()
730 cp->rediscmd->lastkey = lastkey; in RM_CreateCommand()
731 cp->rediscmd->keystep = keystep; in RM_CreateCommand()
732 cp->rediscmd->microseconds = 0; in RM_CreateCommand()
733 cp->rediscmd->calls = 0; in RM_CreateCommand()
734 dictAdd(server.commands,sdsdup(cmdname),cp->rediscmd); in RM_CreateCommand()
735 dictAdd(server.orig_commands,sdsdup(cmdname),cp->rediscmd); in RM_CreateCommand()
5126 sds cmdname = cp->rediscmd->name; in moduleUnregisterCommands()
5131 zfree(cp->rediscmd); in moduleUnregisterCommands()