Module: kamailio
Branch: master
Commit: 5d9444cac7bf77ea58b762741a6cfe27a0398922
URL:
https://github.com/kamailio/kamailio/commit/5d9444cac7bf77ea58b762741a6cfe2…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2024-11-20T12:10:01+01:00
xcap_client: reformat exported structures
---
Modified: src/modules/xcap_client/xcap_client.c
---
Diff:
https://github.com/kamailio/kamailio/commit/5d9444cac7bf77ea58b762741a6cfe2…
Patch:
https://github.com/kamailio/kamailio/commit/5d9444cac7bf77ea58b762741a6cfe2…
---
diff --git a/src/modules/xcap_client/xcap_client.c
b/src/modules/xcap_client/xcap_client.c
index 577f3473fce..e282d0f48ed 100644
--- a/src/modules/xcap_client/xcap_client.c
+++ b/src/modules/xcap_client/xcap_client.c
@@ -81,28 +81,34 @@ db_func_t xcap_dbf;
void query_xcap_update(unsigned int ticks, void *param);
-static param_export_t params[] = {{"db_url", PARAM_STR, &xcap_db_url},
- {"xcap_table", PARAM_STR, &xcap_db_table},
- {"periodical_query", PARAM_INT, &periodical_query},
- {"query_period", PARAM_INT, &query_period}, {0, 0, 0}};
-
+/* clang-format off */
+static param_export_t params[] = {
+ {"db_url", PARAM_STR, &xcap_db_url},
+ {"xcap_table", PARAM_STR, &xcap_db_table},
+ {"periodical_query", PARAM_INT, &periodical_query},
+ {"query_period", PARAM_INT, &query_period},
+ {0, 0, 0}
+};
static cmd_export_t cmds[] = {
- {"bind_xcap", (cmd_function)bind_xcap, 1, 0, 0, 0}, {0, 0, 0, 0, 0, 0}};
+ {"bind_xcap", (cmd_function)bind_xcap, 1, 0, 0, 0},
+ {0, 0, 0, 0, 0, 0}
+};
/** module exports */
struct module_exports exports = {
- "xcap_client", /* module name */
- DEFAULT_DLFLAGS, /* dlopen flags */
- cmds, /* exported functions */
- params, /* exported parameters */
- 0, /* exported rpc functions */
- 0, /* exported pseudo-variables */
- 0, /* response handling function */
- mod_init, /* module init function */
- child_init, /* child init function */
- destroy /* module destroy function */
+ "xcap_client", /* module name */
+ DEFAULT_DLFLAGS, /* dlopen flags */
+ cmds, /* exported functions */
+ params, /* exported parameters */
+ 0, /* exported rpc functions */
+ 0, /* exported pseudo-variables */
+ 0, /* response handling function */
+ mod_init, /* module init function */
+ child_init, /* child init function */
+ destroy /* module destroy function */
};
+/* clang-format on */
/**
* init module function