adds a new entry to the current section
| 45 | |
| 46 | // adds a new entry to the current section |
| 47 | static void Info_SectionAddEntryString |
| 48 | ( |
| 49 | RedisModuleCtx *ctx, // redis module context |
| 50 | const char *entry_name, // entry name |
| 51 | const char *entry_value // entry value |
| 52 | ) { |
| 53 | // validate arguments |
| 54 | ASSERT(ctx != NULL); |
| 55 | ASSERT(entry_name != NULL); |
| 56 | ASSERT(entry_value != NULL); |
| 57 | |
| 58 | RedisModule_ReplyWithCString(ctx, entry_name); |
| 59 | RedisModule_ReplyWithCString(ctx, entry_value); |
| 60 | } |
| 61 | |
| 62 | // adds a new entry to the current section |
| 63 | static void Info_SectionAddEntryLongLong |
no outgoing calls
no test coverage detected