OpenVAS Manager
7.0.3~git
|
Go to the source code of this file.
Macros | |
#define | CONFIG_UUID_FULL_AND_FAST "daba56c8-73ec-11df-a475-002264764cea" |
UUID of 'Full and fast' config. More... | |
#define | CONFIG_UUID_FULL_AND_FAST_ULTIMATE "698f691e-7489-11df-9d8c-002264764cea" |
UUID of 'Full and fast ultimate' config. More... | |
#define | CONFIG_UUID_FULL_AND_VERY_DEEP "708f25c4-7489-11df-8094-002264764cea" |
UUID of 'Full and very deep' config. More... | |
#define | CONFIG_UUID_FULL_AND_VERY_DEEP_ULTIMATE "74db13d6-7489-11df-91b9-002264764cea" |
UUID of 'Full and very deep ultimate' config. More... | |
#define | CONFIG_UUID_EMPTY "085569ce-73ed-11df-83c3-002264764cea" |
UUID of 'Empty' config. More... | |
#define | CONFIG_UUID_DISCOVERY "8715c877-47a0-438d-98a3-27c7a6ab2196" |
UUID of 'Discovery' config. More... | |
#define | CONFIG_UUID_HOST_DISCOVERY "2d3f051c-55ba-11e3-bf43-406186ea4fc5" |
UUID of 'Host Discovery' config. More... | |
#define | CONFIG_UUID_SYSTEM_DISCOVERY "bbca7412-a950-11e3-9109-406186ea4fc5" |
UUID of 'System Discovery' config. More... | |
#define | LOCATION_TABLE 0 |
Location of a constituent of a trashcan resource. More... | |
#define | LOCATION_TRASH 1 |
Location of a constituent of a trashcan resource. More... | |
#define | MANAGE_NVT_SELECTOR_UUID_ALL "54b45713-d4f4-4435-b20d-304c175ed8c5" |
UUID of 'All' NVT selector. More... | |
#define | MANAGE_NVT_SELECTOR_UUID_DISCOVERY "0d9a2738-8fe2-4e22-8f26-bb886179e759" |
UUID of 'Discovery' NVT selector. More... | |
#define | MANAGE_NVT_SELECTOR_UUID_HOST_DISCOVERY "f5f80744-55c7-11e3-8dc6-406186ea4fc5" |
UUID of 'Host Discovery' NVT selector. More... | |
#define | MANAGE_NVT_SELECTOR_UUID_SYSTEM_DISCOVERY "07045d1c-a951-11e3-8da7-406186ea4fc5" |
UUID of 'System Discovery' NVT selector. More... | |
#define | PERMISSION_UUID_ADMIN_EVERYTHING "b3b56a8c-c2fd-11e2-a135-406186ea4fc5" |
Predefined role UUID. More... | |
#define | PERMISSION_UUID_SUPER_ADMIN_EVERYTHING "a9801074-6fe2-11e4-9d81-406186ea4fc5" |
Predefined role UUID. More... | |
#define | PORT_LIST_UUID_DEFAULT "c7e03b6c-3bbe-11e1-a057-406186ea4fc5" |
UUID of 'OpenVAS Default' port list. More... | |
#define | PORT_LIST_UUID_ALL_TCP "fd591a34-56fd-11e1-9f27-406186ea4fc5" |
UUID of 'All TCP' port list. More... | |
#define | PORT_LIST_UUID_ALL_TCP_NMAP_5_51_TOP_100 "730ef368-57e2-11e1-a90f-406186ea4fc5" |
UUID of 'All TCP and Nmap 5.51 Top 100 UDP' port list. More... | |
#define | PORT_LIST_UUID_ALL_TCP_NMAP_5_51_TOP_1000 "9ddce1ae-57e7-11e1-b13c-406186ea4fc5" |
UUID of 'All TCP and Nmap 5.51 Top 1000 UDP' port list. More... | |
#define | PORT_LIST_UUID_ALL_PRIV_TCP "492b72f4-56fe-11e1-98a7-406186ea4fc5" |
UUID of 'All privileged TCP' port list. More... | |
#define | PORT_LIST_UUID_ALL_PRIV_TCP_UDP "5f2029f6-56fe-11e1-bb94-406186ea4fc5" |
UUID of 'All privileged TCP and UDP' port list. More... | |
#define | PORT_LIST_UUID_ALL_IANA_TCP_2012 "33d0cd82-57c6-11e1-8ed1-406186ea4fc5" |
UUID of 'All privileged TCP and UDP' port list. More... | |
#define | PORT_LIST_UUID_ALL_IANA_TCP_UDP_2012 "4a4717fe-57d2-11e1-9a26-406186ea4fc5" |
UUID of 'All privileged TCP and UDP' port list. More... | |
#define | PORT_LIST_UUID_NMAP_5_51_TOP_2000_TOP_100 "ab33f6b0-57f8-11e1-96f5-406186ea4fc5" |
UUID of 'Nmap 5.51 top 2000 TCP top 100 UDP' port list. More... | |
#define | ROLE_UUID_ADMIN "7a8cb5b4-b74d-11e2-8187-406186ea4fc5" |
Predefined role UUID. More... | |
#define | ROLE_UUID_GUEST "cc9cac5e-39a3-11e4-abae-406186ea4fc5" |
Predefined role UUID. More... | |
#define | ROLE_UUID_INFO "5f8fd16c-c550-11e3-b6ab-406186ea4fc5" |
Predefined role UUID. More... | |
#define | ROLE_UUID_MONITOR "12cdb536-480b-11e4-8552-406186ea4fc5" |
Predefined role UUID. More... | |
#define | ROLE_UUID_USER "8d453140-b74d-11e2-b0be-406186ea4fc5" |
Predefined role UUID. More... | |
#define | ROLE_UUID_SUPER_ADMIN "9c5a6ec6-6fe2-11e4-8cb6-406186ea4fc5" |
Predefined role UUID. More... | |
#define | ROLE_UUID_OBSERVER "87a7ebce-b74d-11e2-a81f-406186ea4fc5" |
Predefined role UUID. More... | |
#define | SCANNER_UUID_DEFAULT "08b69003-5fc2-4037-a479-93b440211c73" |
UUID of 'OpenVAS Default' scanner. More... | |
#define | SCANNER_UUID_CVE "6acd0832-df90-11e4-b9d5-28d24461215b" |
UUID of 'CVE' scanner. More... | |
#define | SETTING_UUID_ROWS_PER_PAGE "5f5a8712-8017-11e1-8556-406186ea4fc5" |
UUID of 'Rows Per Page' setting. More... | |
#define | SETTING_UUID_MAX_ROWS_PER_PAGE "76374a7a-0569-11e6-b6da-28d24461215b" |
UUID of 'Max Rows Per Page' setting. More... | |
#define | SETTING_UUID_DEFAULT_CA_CERT "9ac801ea-39f8-11e6-bbaa-28d24461215b" |
UUID of 'Default CA Cert' setting. More... | |
#define | TRUST_ERROR 0 |
Trust constant for error. More... | |
#define | TRUST_YES 1 |
Trust constant for yes. More... | |
#define | TRUST_NO 2 |
Trust constant for no. More... | |
#define | TRUST_UNKNOWN 3 |
Trust constant for unknown. More... | |
#define | TIMEVAL_SUBTRACT_MS(a, b) |
Number of milliseconds between timevals a and b (performs a-b). More... | |
Typedefs | |
typedef long long int | rowid_t |
Variables | |
gchar * | task_db_name |
Name of the database file. More... | |
#define CONFIG_UUID_DISCOVERY "8715c877-47a0-438d-98a3-27c7a6ab2196" |
UUID of 'Discovery' config.
Definition at line 66 of file manage_sql.h.
#define CONFIG_UUID_EMPTY "085569ce-73ed-11df-83c3-002264764cea" |
UUID of 'Empty' config.
Definition at line 61 of file manage_sql.h.
#define CONFIG_UUID_FULL_AND_FAST "daba56c8-73ec-11df-a475-002264764cea" |
UUID of 'Full and fast' config.
Definition at line 39 of file manage_sql.h.
#define CONFIG_UUID_FULL_AND_FAST_ULTIMATE "698f691e-7489-11df-9d8c-002264764cea" |
UUID of 'Full and fast ultimate' config.
Definition at line 44 of file manage_sql.h.
#define CONFIG_UUID_FULL_AND_VERY_DEEP "708f25c4-7489-11df-8094-002264764cea" |
UUID of 'Full and very deep' config.
Definition at line 50 of file manage_sql.h.
#define CONFIG_UUID_FULL_AND_VERY_DEEP_ULTIMATE "74db13d6-7489-11df-91b9-002264764cea" |
UUID of 'Full and very deep ultimate' config.
Definition at line 55 of file manage_sql.h.
#define CONFIG_UUID_HOST_DISCOVERY "2d3f051c-55ba-11e3-bf43-406186ea4fc5" |
UUID of 'Host Discovery' config.
Definition at line 71 of file manage_sql.h.
#define CONFIG_UUID_SYSTEM_DISCOVERY "bbca7412-a950-11e3-9109-406186ea4fc5" |
UUID of 'System Discovery' config.
Definition at line 76 of file manage_sql.h.
#define LOCATION_TABLE 0 |
Location of a constituent of a trashcan resource.
Definition at line 81 of file manage_sql.h.
#define LOCATION_TRASH 1 |
Location of a constituent of a trashcan resource.
Definition at line 86 of file manage_sql.h.
#define MANAGE_NVT_SELECTOR_UUID_ALL "54b45713-d4f4-4435-b20d-304c175ed8c5" |
UUID of 'All' NVT selector.
Definition at line 91 of file manage_sql.h.
#define MANAGE_NVT_SELECTOR_UUID_DISCOVERY "0d9a2738-8fe2-4e22-8f26-bb886179e759" |
UUID of 'Discovery' NVT selector.
Definition at line 96 of file manage_sql.h.
#define MANAGE_NVT_SELECTOR_UUID_HOST_DISCOVERY "f5f80744-55c7-11e3-8dc6-406186ea4fc5" |
UUID of 'Host Discovery' NVT selector.
Definition at line 101 of file manage_sql.h.
#define MANAGE_NVT_SELECTOR_UUID_SYSTEM_DISCOVERY "07045d1c-a951-11e3-8da7-406186ea4fc5" |
UUID of 'System Discovery' NVT selector.
Definition at line 107 of file manage_sql.h.
#define PERMISSION_UUID_ADMIN_EVERYTHING "b3b56a8c-c2fd-11e2-a135-406186ea4fc5" |
Predefined role UUID.
Definition at line 113 of file manage_sql.h.
#define PERMISSION_UUID_SUPER_ADMIN_EVERYTHING "a9801074-6fe2-11e4-9d81-406186ea4fc5" |
Predefined role UUID.
Definition at line 118 of file manage_sql.h.
#define PORT_LIST_UUID_ALL_IANA_TCP_2012 "33d0cd82-57c6-11e1-8ed1-406186ea4fc5" |
UUID of 'All privileged TCP and UDP' port list.
Definition at line 153 of file manage_sql.h.
#define PORT_LIST_UUID_ALL_IANA_TCP_UDP_2012 "4a4717fe-57d2-11e1-9a26-406186ea4fc5" |
UUID of 'All privileged TCP and UDP' port list.
Definition at line 158 of file manage_sql.h.
#define PORT_LIST_UUID_ALL_PRIV_TCP "492b72f4-56fe-11e1-98a7-406186ea4fc5" |
UUID of 'All privileged TCP' port list.
Definition at line 143 of file manage_sql.h.
#define PORT_LIST_UUID_ALL_PRIV_TCP_UDP "5f2029f6-56fe-11e1-bb94-406186ea4fc5" |
UUID of 'All privileged TCP and UDP' port list.
Definition at line 148 of file manage_sql.h.
#define PORT_LIST_UUID_ALL_TCP "fd591a34-56fd-11e1-9f27-406186ea4fc5" |
UUID of 'All TCP' port list.
Definition at line 128 of file manage_sql.h.
#define PORT_LIST_UUID_ALL_TCP_NMAP_5_51_TOP_100 "730ef368-57e2-11e1-a90f-406186ea4fc5" |
UUID of 'All TCP and Nmap 5.51 Top 100 UDP' port list.
Definition at line 133 of file manage_sql.h.
#define PORT_LIST_UUID_ALL_TCP_NMAP_5_51_TOP_1000 "9ddce1ae-57e7-11e1-b13c-406186ea4fc5" |
UUID of 'All TCP and Nmap 5.51 Top 1000 UDP' port list.
Definition at line 138 of file manage_sql.h.
#define PORT_LIST_UUID_DEFAULT "c7e03b6c-3bbe-11e1-a057-406186ea4fc5" |
UUID of 'OpenVAS Default' port list.
Definition at line 123 of file manage_sql.h.
#define PORT_LIST_UUID_NMAP_5_51_TOP_2000_TOP_100 "ab33f6b0-57f8-11e1-96f5-406186ea4fc5" |
UUID of 'Nmap 5.51 top 2000 TCP top 100 UDP' port list.
Definition at line 163 of file manage_sql.h.
#define ROLE_UUID_ADMIN "7a8cb5b4-b74d-11e2-8187-406186ea4fc5" |
Predefined role UUID.
Definition at line 168 of file manage_sql.h.
#define ROLE_UUID_GUEST "cc9cac5e-39a3-11e4-abae-406186ea4fc5" |
Predefined role UUID.
Definition at line 173 of file manage_sql.h.
#define ROLE_UUID_INFO "5f8fd16c-c550-11e3-b6ab-406186ea4fc5" |
Predefined role UUID.
Definition at line 178 of file manage_sql.h.
#define ROLE_UUID_MONITOR "12cdb536-480b-11e4-8552-406186ea4fc5" |
Predefined role UUID.
Definition at line 183 of file manage_sql.h.
#define ROLE_UUID_OBSERVER "87a7ebce-b74d-11e2-a81f-406186ea4fc5" |
Predefined role UUID.
Definition at line 198 of file manage_sql.h.
#define ROLE_UUID_SUPER_ADMIN "9c5a6ec6-6fe2-11e4-8cb6-406186ea4fc5" |
Predefined role UUID.
Definition at line 193 of file manage_sql.h.
#define ROLE_UUID_USER "8d453140-b74d-11e2-b0be-406186ea4fc5" |
Predefined role UUID.
Definition at line 188 of file manage_sql.h.
#define SCANNER_UUID_CVE "6acd0832-df90-11e4-b9d5-28d24461215b" |
UUID of 'CVE' scanner.
Definition at line 208 of file manage_sql.h.
#define SCANNER_UUID_DEFAULT "08b69003-5fc2-4037-a479-93b440211c73" |
UUID of 'OpenVAS Default' scanner.
Definition at line 203 of file manage_sql.h.
#define SETTING_UUID_DEFAULT_CA_CERT "9ac801ea-39f8-11e6-bbaa-28d24461215b" |
UUID of 'Default CA Cert' setting.
Definition at line 223 of file manage_sql.h.
#define SETTING_UUID_MAX_ROWS_PER_PAGE "76374a7a-0569-11e6-b6da-28d24461215b" |
UUID of 'Max Rows Per Page' setting.
Definition at line 218 of file manage_sql.h.
#define SETTING_UUID_ROWS_PER_PAGE "5f5a8712-8017-11e1-8556-406186ea4fc5" |
UUID of 'Rows Per Page' setting.
Definition at line 213 of file manage_sql.h.
#define TIMEVAL_SUBTRACT_MS | ( | a, | |
b | |||
) |
Number of milliseconds between timevals a and b (performs a-b).
Definition at line 248 of file manage_sql.h.
#define TRUST_ERROR 0 |
Trust constant for error.
Definition at line 228 of file manage_sql.h.
#define TRUST_NO 2 |
Trust constant for no.
Definition at line 238 of file manage_sql.h.
#define TRUST_UNKNOWN 3 |
Trust constant for unknown.
Definition at line 243 of file manage_sql.h.
#define TRUST_YES 1 |
Trust constant for yes.
Definition at line 233 of file manage_sql.h.
typedef long long int rowid_t |
Definition at line 259 of file manage_sql.h.
char* alert_data | ( | alert_t | alert, |
const char * | type, | ||
const char * | name | ||
) |
Return data associated with an alert.
[in] | alert | Alert. |
[in] | type | Type of data: "condition", "event" or "method". |
[in] | name | Name of the data. |
Definition at line 8810 of file manage_sql.c.
References sql_quote(), and sql_string().
Referenced by alert_condition_description(), and migrate_165_to_166().
void array_add_new_string | ( | array_t * | array, |
const gchar * | string | ||
) |
Ensure a string is in an array.
[in] | array | Array. |
[in] | string | String. Copied into array. |
Definition at line 710 of file manage_sql.c.
void auto_delete_reports | ( | ) |
void check_generate_scripts | ( | ) |
Ensure the generate scripts are all executable.
Used by a migrator.
Definition at line 16716 of file manage_sql.c.
References cleanup_iterator(), init_iterator(), iterator_int64(), iterator_string(), next(), report_format_uuid(), and user_uuid().
Referenced by migrate_147_to_148().
void cleanup_task_schedule_iterator | ( | iterator_t * | ) |
int create_current_report | ( | task_t | , |
char ** | , | ||
task_status_t | |||
) |
int days_from_now | ( | time_t * | epoch_time | ) |
Calculate difference between now and epoch_time in days.
[in] | epoch_time | Time in seconds from epoch. |
Definition at line 1072 of file manage_sql.c.
int delete_report_internal | ( | report_t | ) |
gboolean find_resource_with_permission | ( | const char * | type, |
const char * | uuid, | ||
resource_t * | resource, | ||
const char * | permission, | ||
int | trash | ||
) |
Find a resource given a UUID and a permission.
[in] | type | Type of resource. |
[in] | uuid | UUID of resource. |
[out] | resource | Resource return, 0 if succesfully failed to find resource. |
[in] | permission | Permission. |
[in] | trash | Whether resource is in trashcan. |
Definition at line 4459 of file manage_sql.c.
References acl_user_has_access_uuid(), sql_int64(), sql_quote(), and valid_type().
Referenced by find_alert_with_permission().
gchar* get_ovaldef_short_filename | ( | char * | ) |
gboolean host_nthlast_report_host | ( | const char * | , |
report_host_t * | , | ||
int | |||
) |
void init_otp_pref_iterator | ( | iterator_t * | , |
config_t | , | ||
const char * | |||
) |
void init_task_file_iterator | ( | iterator_t * | , |
task_t | , | ||
const char * | |||
) |
int init_task_schedule_iterator | ( | iterator_t * | ) |
void insert_port_range | ( | port_list_t | , |
port_protocol_t | , | ||
int | , | ||
int | |||
) |
int manage_db_empty | ( | ) |
Check whether database is empty.
Definition at line 78 of file manage_pg.c.
References sql_database(), and sql_int().
Referenced by manage_db_version().
int manage_report_host_details | ( | report_t | , |
const char * | , | ||
entity_t | |||
) |
void manage_session_init | ( | const char * | uuid | ) |
Setup session.
[in] | uuid | User UUID. |
Definition at line 46 of file manage_pg.c.
References sql().
Referenced by acl_users_with_access_sql(), and manage_schedule().
int manage_update_nvti_cache | ( | ) |
Update the memory cache of NVTs, if this has been requested.
Definition at line 14475 of file manage_sql.c.
References sql_begin_immediate_giveup(), sql_int(), and sql_schema().
Referenced by manage_schedule().
const char* otp_pref_iterator_name | ( | iterator_t * | ) |
const char* otp_pref_iterator_value | ( | iterator_t * | ) |
int parse_iso_time | ( | const char * | text_time | ) |
Convert an ISO time into seconds since epoch.
For backward compatibility, if the conversion fails try parse in ctime format.
[in] | text_time | Time as text in ISO format: 2011-11-03T09:23:28+02:00. |
Definition at line 875 of file manage_sql.c.
Referenced by manage_system_report(), and set_task_start_time().
void reinit_manage_process | ( | ) |
Reinitialize the manage library for a process.
This is mandatory after a fork, to not carry open databases around (refer to database documentation).
Definition at line 14347 of file manage_sql.c.
References cleanup_manage_process(), init_manage_process(), and task_db_name.
Referenced by manage_schedule().
char* report_host_ip | ( | const char * | ) |
void reschedule_task | ( | const gchar * | ) |
gchar* resource_uuid | ( | const gchar * | type, |
resource_t | resource | ||
) |
Get the UUID of a resource.
[in] | type | Type. |
[in] | resource | Resource. |
Definition at line 4971 of file manage_sql.c.
References sql_string(), and valid_db_resource_type().
const char* run_status_name_internal | ( | task_status_t | status | ) |
Get the unique name of a run status.
[in] | status | Run status. |
Definition at line 1288 of file manage.c.
References TASK_STATUS_DELETE_REQUESTED, TASK_STATUS_DELETE_ULTIMATE_REQUESTED, TASK_STATUS_DELETE_ULTIMATE_WAITING, TASK_STATUS_DELETE_WAITING, TASK_STATUS_DONE, TASK_STATUS_NEW, TASK_STATUS_REQUESTED, TASK_STATUS_RUNNING, TASK_STATUS_STOP_REQUESTED, TASK_STATUS_STOP_REQUESTED_GIVEUP, TASK_STATUS_STOP_WAITING, and TASK_STATUS_STOPPED.
int set_report_scan_run_status | ( | report_t | , |
task_status_t | |||
) |
void set_report_scheduled | ( | report_t | report | ) |
Set a report's scheduled flag.
Set flag if task was scheduled, else clear flag.
[in] | report | Report. |
Definition at line 18252 of file manage_sql.c.
References authenticate_allow_all, and sql().
int set_report_slave_progress | ( | report_t | , |
int | |||
) |
void set_report_slave_task_uuid | ( | report_t | , |
const char * | |||
) |
int set_task_requested | ( | task_t | task, |
task_status_t * | status | ||
) |
Atomically set the run state of a task to requested.
[in] | task | Task. |
[out] | status | Old run status of task. |
Definition at line 18336 of file manage_sql.c.
References set_task_run_status(), sql_begin_exclusive(), sql_commit(), task_run_status(), TASK_STATUS_DELETE_REQUESTED, TASK_STATUS_DELETE_ULTIMATE_REQUESTED, TASK_STATUS_DELETE_ULTIMATE_WAITING, TASK_STATUS_DELETE_WAITING, TASK_STATUS_REQUESTED, TASK_STATUS_RUNNING, TASK_STATUS_STOP_REQUESTED, TASK_STATUS_STOP_REQUESTED_GIVEUP, and TASK_STATUS_STOP_WAITING.
void set_task_schedule_next_time | ( | task_t | task, |
time_t | time | ||
) |
Set the next time a scheduled task will be due.
[in] | task | Task. |
[in] | time | New next time. |
Definition at line 19058 of file manage_sql.c.
References sql().
Referenced by manage_schedule().
void set_task_schedule_next_time_uuid | ( | const gchar * | task_id, |
time_t | time | ||
) |
Set the next time a scheduled task will be due.
[in] | task_id | Task UUID. |
[in] | time | New next time. |
Definition at line 19071 of file manage_sql.c.
References sql(), sql_quote(), and task_id().
Referenced by manage_schedule().
int set_task_schedule_uuid | ( | const gchar * | task_id, |
schedule_t | schedule, | ||
int | periods | ||
) |
Set the schedule of a task.
[in] | task_id | Task UUID. |
[in] | schedule | Schedule. |
[in] | periods | Number of schedule periods. |
Definition at line 18836 of file manage_sql.c.
References sql(), sql_quote(), and task_id().
Referenced by manage_schedule().
gchar* tag_value | ( | const gchar * | tags, |
const gchar * | tag | ||
) |
Extract a tag from an OTP tag list.
[in] | tags | Tag list. |
[out] | tag | Tag name. |
Definition at line 1269 of file manage_sql.c.
alive_test_t target_alive_tests | ( | target_t | ) |
credential_t target_esxi_credential | ( | target_t | ) |
port_list_t target_port_list | ( | target_t | ) |
char* target_port_range | ( | target_t | ) |
credential_t target_smb_credential | ( | target_t | ) |
credential_t target_ssh_credential | ( | target_t | ) |
char* task_definitions_file | ( | task_t | ) |
const char* task_file_iterator_content | ( | iterator_t * | ) |
const char* task_file_iterator_name | ( | iterator_t * | ) |
time_t task_schedule_iterator_duration | ( | iterator_t * | ) |
time_t task_schedule_iterator_first_time | ( | iterator_t * | ) |
time_t task_schedule_iterator_initial_offset | ( | iterator_t * | ) |
time_t task_schedule_iterator_next_time | ( | iterator_t * | ) |
const char* task_schedule_iterator_owner_name | ( | iterator_t * | ) |
const char* task_schedule_iterator_owner_uuid | ( | iterator_t * | ) |
time_t task_schedule_iterator_period | ( | iterator_t * | ) |
time_t task_schedule_iterator_period_months | ( | iterator_t * | ) |
schedule_t task_schedule_iterator_schedule | ( | iterator_t * | ) |
gboolean task_schedule_iterator_start_due | ( | iterator_t * | ) |
gboolean task_schedule_iterator_stop_due | ( | iterator_t * | ) |
task_t task_schedule_iterator_task | ( | iterator_t * | ) |
const char* task_schedule_iterator_task_uuid | ( | iterator_t * | ) |
gboolean task_schedule_iterator_timed_out | ( | iterator_t * | ) |
const char* task_schedule_iterator_timezone | ( | iterator_t * | ) |
void trim_report | ( | report_t | ) |
void update_config_cache_init | ( | const char * | ) |
Referenced by check_config_host_discovery(), and check_config_system_discovery().
int update_from_slave | ( | task_t | , |
entity_t | , | ||
entity_t * | , | ||
int * | |||
) |
int valid_omp_command | ( | const char * | name | ) |
Check whether a command name is valid.
[in] | name | Command name. |
Definition at line 545 of file manage_sql.c.
References omp_commands.
Referenced by acl_user_has_access_uuid().
gchar* task_db_name |
Name of the database file.
Definition at line 403 of file manage_sql.c.
Referenced by migrate_43_to_44(), and reinit_manage_process().