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