|
Greenbone Vulnerability Management Libraries 22.32.0
|
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...

Data Fields | |
| struct kb | kb |
| unsigned int | max_db |
| unsigned int | db |
| redisContext * | rctx |
| char * | path |
Subclass of struct kb, it contains the redis-specific fields, such as the redis context, current DB (namespace) id and the server socket path.
| unsigned int kb_redis::db |
Namespace ID number, 0 if uninitialized.
Definition at line 58 of file kb.c.
Referenced by get_redis_ctx(), redis_delete_all(), redis_direct_conn(), redis_find(), redis_flush_all(), redis_get_kb_index(), redis_release_db(), redis_save(), select_database(), and try_database_index().
| 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().
| 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().
| 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().
| redisContext* kb_redis::rctx |
Redis client context.
Definition at line 59 of file kb.c.
Referenced by fetch_max_db_index(), get_redis_ctx(), redis_add_int_unique(), redis_add_int_unique_volatile(), redis_add_str_unique(), redis_add_str_unique_volatile(), redis_cmd(), redis_delete(), redis_direct_conn(), redis_find(), redis_flush_all(), redis_get_pattern(), redis_lnk_reset(), redis_release_db(), redis_set_int(), redis_set_str(), select_database(), and try_database_index().