void prefs_set(const gchar *, const gchar *)
Set a string preference value via a key.
Definition: prefs.c:153
int prefs_get_bool(const gchar *key)
Get a boolean expression of a preference value via a key.
Definition: prefs.c:130
void prefs_config(const char *)
Apply the configs from given file as preferences.
Definition: prefs.c:167
GHashTable * preferences_get(void)
Get the pointer to the global preferences structure. Eventually this function should not be used anyw...
Definition: prefs.c:92
const gchar * prefs_get(const gchar *key)
Get a string preference value via a key.
Definition: prefs.c:110
int prefs_nvt_timeout(const char *)
Returns the timeout defined by the client or 0 if none was set.
Definition: prefs.c:216
void prefs_dump(void)
Dump the preferences to stdout.
Definition: prefs.c:192