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

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2024-12-11T19:28:39+01:00

presence_profile: reformat exported structures

---

Modified: src/modules/presence_profile/presence_profile.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/d916aa671f10b284aff0217fdf3182256b62ec7e.diff
Patch: 
https://github.com/kamailio/kamailio/commit/d916aa671f10b284aff0217fdf3182256b62ec7e.patch

---

diff --git a/src/modules/presence_profile/presence_profile.c 
b/src/modules/presence_profile/presence_profile.c
index 16205574066..100582c8d08 100644
--- a/src/modules/presence_profile/presence_profile.c
+++ b/src/modules/presence_profile/presence_profile.c
@@ -59,24 +59,25 @@ add_event_t pres_add_event;
 /* module parameters */
 unsigned int pres_profile_default_expires = 3600;
 
+/* clang-format off */
 /* module exported parameters */
 static param_export_t params[] = {
-               {"default_expires", PARAM_INT, &pres_profile_default_expires},
-               {0, 0, 0}};
+       {"default_expires", PARAM_INT, &pres_profile_default_expires},
+       {0, 0, 0}
+};
 
 /* module exports */
-/* clang-format off */
 struct module_exports exports= {
        "presence_profile",     /* module name */
-       DEFAULT_DLFLAGS,        /* dlopen flags */
-       0,                                      /* 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 */
+       DEFAULT_DLFLAGS,    /* dlopen flags */
+       0,                  /* 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 */
 

_______________________________________________
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