From d1c694cd3395f5f5525a62f6844daa86fa47c5b4 Mon Sep 17 00:00:00 2001 From: Matt Mundell Date: Mon, 8 Jan 2024 14:14:43 +0200 Subject: [PATCH] Clang format --- src/gsad_gmp.c | 39 +++++++++++++++++++++++---------------- src/gsad_gmp.h | 12 ++++++------ 2 files changed, 29 insertions(+), 22 deletions(-) diff --git a/src/gsad_gmp.c b/src/gsad_gmp.c index 2001e3ead..c4a3f2ad4 100644 --- a/src/gsad_gmp.c +++ b/src/gsad_gmp.c @@ -10956,8 +10956,9 @@ get_trash_configs_gmp (gvm_connection_t *connection, credentials_t *credentials, * @return Enveloped XML object. */ char * -get_trash_credentials_gmp (gvm_connection_t *connection, credentials_t *credentials, - params_t *params, cmd_response_data_t *response_data) +get_trash_credentials_gmp (gvm_connection_t *connection, + credentials_t *credentials, params_t *params, + cmd_response_data_t *response_data) { GString *xml; @@ -11064,8 +11065,9 @@ get_trash_notes_gmp (gvm_connection_t *connection, credentials_t *credentials, * @return Enveloped XML object. */ char * -get_trash_overrides_gmp (gvm_connection_t *connection, credentials_t *credentials, - params_t *params, cmd_response_data_t *response_data) +get_trash_overrides_gmp (gvm_connection_t *connection, + credentials_t *credentials, params_t *params, + cmd_response_data_t *response_data) { GString *xml; @@ -11091,8 +11093,9 @@ get_trash_overrides_gmp (gvm_connection_t *connection, credentials_t *credential * @return Enveloped XML object. */ char * -get_trash_permissions_gmp (gvm_connection_t *connection, credentials_t *credentials, - params_t *params, cmd_response_data_t *response_data) +get_trash_permissions_gmp (gvm_connection_t *connection, + credentials_t *credentials, params_t *params, + cmd_response_data_t *response_data) { GString *xml; @@ -11118,8 +11121,9 @@ get_trash_permissions_gmp (gvm_connection_t *connection, credentials_t *credenti * @return Enveloped XML object. */ char * -get_trash_port_lists_gmp (gvm_connection_t *connection, credentials_t *credentials, - params_t *params, cmd_response_data_t *response_data) +get_trash_port_lists_gmp (gvm_connection_t *connection, + credentials_t *credentials, params_t *params, + cmd_response_data_t *response_data) { GString *xml; @@ -11145,14 +11149,16 @@ get_trash_port_lists_gmp (gvm_connection_t *connection, credentials_t *credentia * @return Enveloped XML object. */ char * -get_trash_report_formats_gmp (gvm_connection_t *connection, credentials_t *credentials, - params_t *params, cmd_response_data_t *response_data) +get_trash_report_formats_gmp (gvm_connection_t *connection, + credentials_t *credentials, params_t *params, + cmd_response_data_t *response_data) { GString *xml; xml = g_string_new (""); - GET_TRASH_RESOURCE ("GET_REPORT_FORMATS", "get_report_formats", "report_formats"); + GET_TRASH_RESOURCE ("GET_REPORT_FORMATS", "get_report_formats", + "report_formats"); /* Cleanup, and return transformed XML. */ @@ -11199,8 +11205,9 @@ get_trash_roles_gmp (gvm_connection_t *connection, credentials_t *credentials, * @return Enveloped XML object. */ char * -get_trash_scanners_gmp (gvm_connection_t *connection, credentials_t *credentials, - params_t *params, cmd_response_data_t *response_data) +get_trash_scanners_gmp (gvm_connection_t *connection, + credentials_t *credentials, params_t *params, + cmd_response_data_t *response_data) { GString *xml; @@ -11226,8 +11233,9 @@ get_trash_scanners_gmp (gvm_connection_t *connection, credentials_t *credentials * @return Enveloped XML object. */ char * -get_trash_schedules_gmp (gvm_connection_t *connection, credentials_t *credentials, - params_t *params, cmd_response_data_t *response_data) +get_trash_schedules_gmp (gvm_connection_t *connection, + credentials_t *credentials, params_t *params, + cmd_response_data_t *response_data) { GString *xml; @@ -11269,7 +11277,6 @@ get_trash_tags_gmp (gvm_connection_t *connection, credentials_t *credentials, g_string_free (xml, FALSE), response_data); } - /** * @brief Setup trash page XML, envelope the result. * diff --git a/src/gsad_gmp.h b/src/gsad_gmp.h index 56287df57..8cf7af265 100644 --- a/src/gsad_gmp.h +++ b/src/gsad_gmp.h @@ -631,8 +631,8 @@ char * get_trash_configs_gmp (gvm_connection_t *, credentials_t *, params_t *params, cmd_response_data_t *); char * -get_trash_credentials_gmp (gvm_connection_t *, credentials_t *, params_t *params, - cmd_response_data_t *); +get_trash_credentials_gmp (gvm_connection_t *, credentials_t *, + params_t *params, cmd_response_data_t *); char * get_trash_filters_gmp (gvm_connection_t *, credentials_t *, params_t *params, cmd_response_data_t *); @@ -646,14 +646,14 @@ char * get_trash_overrides_gmp (gvm_connection_t *, credentials_t *, params_t *params, cmd_response_data_t *); char * -get_trash_permissions_gmp (gvm_connection_t *, credentials_t *, params_t *params, - cmd_response_data_t *); +get_trash_permissions_gmp (gvm_connection_t *, credentials_t *, + params_t *params, cmd_response_data_t *); char * get_trash_port_lists_gmp (gvm_connection_t *, credentials_t *, params_t *params, cmd_response_data_t *); char * -get_trash_report_formats_gmp (gvm_connection_t *, credentials_t *, params_t *params, - cmd_response_data_t *); +get_trash_report_formats_gmp (gvm_connection_t *, credentials_t *, + params_t *params, cmd_response_data_t *); char * get_trash_roles_gmp (gvm_connection_t *, credentials_t *, params_t *params, cmd_response_data_t *);