Module: kamailio
Branch: master
Commit: ee12cb5a87f67ab32a219c1bc3a0b877dfc334a7
URL:
https://github.com/kamailio/kamailio/commit/ee12cb5a87f67ab32a219c1bc3a0b87…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2024-11-21T19:09:07+01:00
stun: reformat exported structures
---
Modified: src/modules/stun/stun_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/ee12cb5a87f67ab32a219c1bc3a0b87…
Patch:
https://github.com/kamailio/kamailio/commit/ee12cb5a87f67ab32a219c1bc3a0b87…
---
diff --git a/src/modules/stun/stun_mod.c b/src/modules/stun/stun_mod.c
index f347f9117c7..efba758fcb6 100644
--- a/src/modules/stun/stun_mod.c
+++ b/src/modules/stun/stun_mod.c
@@ -36,18 +36,20 @@ MODULE_VERSION
static int mod_init(void);
static int stun_msg_receive(sr_event_param_t *evp);
+/* clang-format off */
struct module_exports exports = {
- "stun", /* module name */
- DEFAULT_DLFLAGS, /* dlopen flags */
- 0, /* exported functions */
- 0, /* exported parameters */
- 0, /* exported RPC functions */
- 0, /* exported pseudo-variables */
- 0, /* response function */
- mod_init, /* module initialization function */
- 0, /* per-child initialization function */
- 0 /* destroy function */
+ "stun", /* module name */
+ DEFAULT_DLFLAGS, /* dlopen flags */
+ 0, /* exported functions */
+ 0, /* exported parameters */
+ 0, /* exported rpc functions */
+ 0, /* exported pseudo-variables */
+ 0, /* response handling function */
+ mod_init, /* module init function */
+ 0, /* per-child init function */
+ 0 /* module destroy function */
};
+/* clang-format on */
static int mod_init(void)
{