Greenbone Vulnerability Management Libraries  10.0.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 [0]
 

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 66 of file kb.c.

Field Documentation

◆ db

unsigned int kb_redis::db

Namespace ID number, 0 if uninitialized.

Definition at line 70 of file kb.c.

Referenced by get_redis_ctx(), redis_delete_all(), redis_direct_conn(), redis_find(), redis_flush_all(), redis_release_db(), redis_save(), select_database(), and try_database_index().

◆ kb

struct kb kb_redis::kb

Parent KB handle.

Definition at line 68 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 69 of file kb.c.

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

◆ path

char kb_redis::path[0]

Path to the server socket.

Definition at line 72 of file kb.c.

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

◆ rctx


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