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