33 #ifndef _OPENVAS_PREFS_H 34 #define _OPENVAS_PREFS_H 39 const gchar *
prefs_get (
const gchar * key);
41 void prefs_set (
const gchar *,
const gchar *);
int prefs_nvt_timeout(const char *)
Returns the timeout defined by the client or 0 if none was set.
Definition: prefs.c:198
void prefs_set(const gchar *, const gchar *)
Set a string preference value via a key.
Definition: prefs.c:133
void prefs_dump(void)
Dump the preferences to stdout.
Definition: prefs.c:178
Definition: arglists.h:29
void prefs_config(const char *)
Apply the configs from given file as preferences.
Definition: prefs.c:155
const gchar * prefs_get(const gchar *key)
Get a string preference value via a key.
Definition: prefs.c:86
struct arglist * preferences_get(void)
Get the pointer to the global preferences structure. Eventually this function should not be used anyw...
Definition: prefs.c:68
int prefs_get_bool(const gchar *key)
Get a boolean expression of a preference value via a key.
Definition: prefs.c:109