26 #ifndef OPENVAS_MANAGER_MANAGE_UTILS_H 27 #define OPENVAS_MANAGER_MANAGE_UTILS_H 32 #define SEVERITY_LOG 0.0 34 #define SEVERITY_FP -1.0 36 #define SEVERITY_DEBUG -2.0 38 #define SEVERITY_ERROR -3.0 40 #define SEVERITY_MISSING -99.0 42 #define SEVERITY_UNDEFINED -98.0 44 #define SEVERITY_MAX 10.0 46 #define SEVERITY_SUBDIVISIONS 10 59 next_time (time_t,
int,
int,
const char*,
int);
double level_min_severity(const char *, const char *)
Get the minimum severity for a severity level and class.
int valid_db_resource_type(const char *)
Check whether a resource type table name is valid.
time_t next_time(time_t, int, int, const char *, int)
Calculate the next time from now given a start time and a period.
double level_max_severity(const char *, const char *)
Get the minimum severity for a severity level and class.
time_t add_months(time_t, int)
Add months to a time.
time_t months_between(time_t, time_t)
Count number of full months between two times.
int manage_count_hosts_max(const char *, const char *, int)
Return number of hosts described by a hosts string.
long time_offset(const char *, time_t)
Get the offset from UTC of a timezone at a particular time.
long current_offset(const char *)
Get the current offset from UTC of a timezone.