Module: kamailio
Branch: master
Commit: ee12cb5a87f67ab32a219c1bc3a0b877dfc334a7
URL: 
https://github.com/kamailio/kamailio/commit/ee12cb5a87f67ab32a219c1bc3a0b877dfc334a7

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@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/ee12cb5a87f67ab32a219c1bc3a0b877dfc334a7.diff
Patch: 
https://github.com/kamailio/kamailio/commit/ee12cb5a87f67ab32a219c1bc3a0b877dfc334a7.patch

---

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)
 {

_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to