Module: kamailio
Branch: master
Commit: bbb373e2239e5e25527b708551dd5e03399f7bf3
URL:
https://github.com/kamailio/kamailio/commit/bbb373e2239e5e25527b708551dd5e0…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2024-12-11T19:13:38+01:00
pua_usrloc: reformat exported structures
---
Modified: src/modules/pua_usrloc/pua_usrloc.c
---
Diff:
https://github.com/kamailio/kamailio/commit/bbb373e2239e5e25527b708551dd5e0…
Patch:
https://github.com/kamailio/kamailio/commit/bbb373e2239e5e25527b708551dd5e0…
---
diff --git a/src/modules/pua_usrloc/pua_usrloc.c b/src/modules/pua_usrloc/pua_usrloc.c
index bd2184a0aff..a0c154b77fc 100644
--- a/src/modules/pua_usrloc/pua_usrloc.c
+++ b/src/modules/pua_usrloc/pua_usrloc.c
@@ -70,29 +70,33 @@ usrloc_api_t ul;
static int mod_init(void);
+/* clang-format off */
static cmd_export_t cmds[] = {
- {"pua_set_publish", (cmd_function)w_pua_set_publish, 0, 0, 0,
- REQUEST_ROUTE},
- {"bind_pua_usrloc", (cmd_function)bind_pua_usrloc, 1, 0, 0, 0},
- {0, 0, 0, 0, 0, 0}};
+ {"pua_set_publish", (cmd_function)w_pua_set_publish, 0, 0, 0, REQUEST_ROUTE},
+ {"bind_pua_usrloc", (cmd_function)bind_pua_usrloc, 1, 0, 0, 0},
+ {0, 0, 0, 0, 0, 0}
+};
static param_export_t params[] = {
- {"default_domain", PARAM_STR, &default_domain},
- {"entity_prefix", PARAM_STR, &pres_prefix},
- {"branch_flag", PARAM_INT, &pua_ul_bflag}, {0, 0, 0}};
+ {"default_domain", PARAM_STR, &default_domain},
+ {"entity_prefix", PARAM_STR, &pres_prefix},
+ {"branch_flag", PARAM_INT, &pua_ul_bflag},
+ {0, 0, 0}
+};
struct module_exports exports = {
- "pua_usrloc", /* 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 */
- 0, /* per-child init function */
- 0 /* module destroy function */
+ "pua_usrloc", /* 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 */
+ 0, /* per-child init function */
+ 0 /* module destroy function */
};
+/* clang-format on */
/*! \brief
* init module function