Module: kamailio
Branch: master
Commit: 07a47afb577c7958f23cd46c80f26edcb4f2995b
URL:
https://github.com/kamailio/kamailio/commit/07a47afb577c7958f23cd46c80f26ed…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2024-12-11T19:27:30+01:00
presence_reginfo: reformat exported structures
---
Modified: src/modules/presence_reginfo/presence_reginfo.c
---
Diff:
https://github.com/kamailio/kamailio/commit/07a47afb577c7958f23cd46c80f26ed…
Patch:
https://github.com/kamailio/kamailio/commit/07a47afb577c7958f23cd46c80f26ed…
---
diff --git a/src/modules/presence_reginfo/presence_reginfo.c
b/src/modules/presence_reginfo/presence_reginfo.c
index ba5355eec65..f7ddf925b33 100644
--- a/src/modules/presence_reginfo/presence_reginfo.c
+++ b/src/modules/presence_reginfo/presence_reginfo.c
@@ -50,26 +50,26 @@ add_event_t pres_add_event;
int pres_reginfo_aggregate_presentities = 0;
unsigned int pres_reginfo_default_expires = 3600;
+/* clang-format off */
/* module exported parameters */
static param_export_t params[] = {
- {"default_expires", PARAM_INT, &pres_reginfo_default_expires},
- {"aggregate_presentities", PARAM_INT,
- &pres_reginfo_aggregate_presentities},
- {0, 0, 0}};
+ {"default_expires", PARAM_INT, &pres_reginfo_default_expires},
+ {"aggregate_presentities", PARAM_INT,
&pres_reginfo_aggregate_presentities},
+ {0, 0, 0}
+};
/* module exports */
-/* clang-format off */
struct module_exports exports= {
- "presence_reginfo", /* 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 */
+ "presence_reginfo", /* 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 */
};
/* clang-format on */