• Viktor Söderqvist's avatar
    Add missing REDISMODULE_CLIENTINFO_INITIALIZER (#10885) · 6af02100
    Viktor Söderqvist authored
    The module API docs mentions this macro, but it was not defined (so no one could have used it).
    
    Instead of adding it as is, we decided to add a _V1 macro, so that if / when we some day extend this struct,
    modules that use this API and don't need the extra fields, will still use the old version
    and still be compatible with older redis version (despite being compiled with newer redismodule.h)
    6af02100
module.c 510 KB