Module: kamailio
Branch: master
Commit: eaefe0f2f50a7bf1bbb17c14511d7ae5a4b4deee
URL:
https://github.com/kamailio/kamailio/commit/eaefe0f2f50a7bf1bbb17c14511d7ae…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2024-12-11T19:05:59+01:00
pua_xml: reformat exported structures
---
Modified: src/modules/pua_xmpp/pua_xmpp.c
---
Diff:
https://github.com/kamailio/kamailio/commit/eaefe0f2f50a7bf1bbb17c14511d7ae…
Patch:
https://github.com/kamailio/kamailio/commit/eaefe0f2f50a7bf1bbb17c14511d7ae…
---
diff --git a/src/modules/pua_xmpp/pua_xmpp.c b/src/modules/pua_xmpp/pua_xmpp.c
index 31c16daf21e..5f0d5dacd11 100644
--- a/src/modules/pua_xmpp/pua_xmpp.c
+++ b/src/modules/pua_xmpp/pua_xmpp.c
@@ -83,28 +83,32 @@ static int child_init(int);
static int fixup_pua_xmpp(void **param, int param_no);
+/* clang-format off */
static cmd_export_t cmds[] = {
- {"pua_xmpp_notify", (cmd_function)Notify2Xmpp, 0, 0, 0, REQUEST_ROUTE},
- {"pua_xmpp_req_winfo", (cmd_function)request_winfo, 2, fixup_pua_xmpp,
- 0, REQUEST_ROUTE},
- {0, 0, 0, 0, 0, 0}};
+ {"pua_xmpp_notify", (cmd_function)Notify2Xmpp, 0, 0, 0, REQUEST_ROUTE},
+ {"pua_xmpp_req_winfo", (cmd_function)request_winfo, 2, fixup_pua_xmpp, 0,
REQUEST_ROUTE},
+ {0, 0, 0, 0, 0, 0}
+};
static param_export_t params[] = {
- {"server_address", PARAM_STR, &server_address}, {0, 0, 0}};
+ {"server_address", PARAM_STR, &server_address},
+ {0, 0, 0}
+};
/*! \brief module exports */
struct module_exports exports = {
- "pua_xmpp", /* module name */
- DEFAULT_DLFLAGS, /* dlopen flags */
- cmds, /* exported functions */
- params, /* exported parameters */
- 0, /* RPC method exports */
- 0, /* exported pseudo-variables */
- 0, /* response handling function */
- mod_init, /* module initialization function */
- child_init, /* per-child init function */
- 0 /* module destroy function */
+ "pua_xmpp", /* module name */
+ DEFAULT_DLFLAGS, /* dlopen flags */
+ cmds, /* exported functions */
+ params, /* exported parameters */
+ 0, /* RPC method exports */
+ 0, /* exported pseudo-variables */
+ 0, /* response handling function */
+ mod_init, /* module initialization function */
+ child_init, /* per-child init function */
+ 0 /* module destroy function */
};
+/* clang-format on */
/*! \brief
* init module function