Greenbone Vulnerability Management Libraries 22.32.0
kb_redis Struct Reference

Subclass of struct kb, it contains the redis-specific fields, such as the redis context, current DB (namespace) id and the server socket path. More...

Collaboration diagram for kb_redis:
Collaboration graph

Data Fields

struct kb kb
unsigned int max_db
unsigned int db
redisContext * rctx
char * path

Detailed Description

Subclass of struct kb, it contains the redis-specific fields, such as the redis context, current DB (namespace) id and the server socket path.

Definition at line 54 of file kb.c.

Field Documentation

◆ db

unsigned int kb_redis::db

◆ kb

struct kb kb_redis::kb

Parent KB handle.

Definition at line 56 of file kb.c.

Referenced by redis_direct_conn(), redis_find(), and redis_new().

◆ max_db

unsigned int kb_redis::max_db

Max # of databases.

Definition at line 57 of file kb.c.

Referenced by fetch_max_db_index(), redis_find(), redis_flush_all(), and select_database().

◆ path

char* kb_redis::path

Path to the server socket.

Definition at line 60 of file kb.c.

Referenced by get_redis_ctx(), redis_delete(), redis_direct_conn(), redis_find(), redis_flush_all(), and redis_new().

◆ rctx


The documentation for this struct was generated from the following file: