adds a new entry to the current section
| 61 | |
| 62 | // adds a new entry to the current section |
| 63 | static void Info_SectionAddEntryLongLong |
| 64 | ( |
| 65 | RedisModuleCtx *ctx, // redis module context |
| 66 | const char *entry_name, // entry name |
| 67 | long long entry_value // entry value |
| 68 | ) { |
| 69 | // validate arguments |
| 70 | ASSERT(ctx != NULL); |
| 71 | ASSERT(entry_name != NULL); |
| 72 | |
| 73 | RedisModule_ReplyWithCString(ctx, entry_name); |
| 74 | RedisModule_ReplyWithLongLong(ctx, entry_value); |
| 75 | } |
| 76 | |
| 77 | // adds a new entry to the current section |
| 78 | static void Info_SectionAddEntryDouble |
no outgoing calls
no test coverage detected