Module: kamailio Branch: master Commit: c28bd51076b5c50836cd4946e4e93c6d445fe068 URL: https://github.com/kamailio/kamailio/commit/c28bd51076b5c50836cd4946e4e93c6d...
Author: Victor Seva linuxmaniac@torreviejawireless.org Committer: Victor Seva linuxmaniac@torreviejawireless.org Date: 2024-12-11T19:37:12+01:00
presence_conference: reformat exported structures
---
Modified: src/modules/presence_conference/presence_conference.c
---
Diff: https://github.com/kamailio/kamailio/commit/c28bd51076b5c50836cd4946e4e93c6d... Patch: https://github.com/kamailio/kamailio/commit/c28bd51076b5c50836cd4946e4e93c6d...
---
diff --git a/src/modules/presence_conference/presence_conference.c b/src/modules/presence_conference/presence_conference.c index c4f9ca7f56e..25fdb68dc45 100644 --- a/src/modules/presence_conference/presence_conference.c +++ b/src/modules/presence_conference/presence_conference.c @@ -51,30 +51,36 @@ add_event_t pres_add_event; int use_partial_states = 0; unsigned int pres_conf_default_expires = 3600;
+/* presence api bind structure */ +presence_api_t pres; + +/* clang-format off */ /* module exported commands */ -static cmd_export_t cmds[] = {{0, 0, 0, 0, 0, 0}}; +static cmd_export_t cmds[] = { + {0, 0, 0, 0, 0, 0} +};
/* module exported parameters */ static param_export_t params[] = { - {"use_partial_states", PARAM_INT, &use_partial_states}, - {"default_expires", PARAM_INT, &pres_conf_default_expires}, {0, 0, 0}}; - -/* presence api bind structure */ -presence_api_t pres; + {"use_partial_states", PARAM_INT, &use_partial_states}, + {"default_expires", PARAM_INT, &pres_conf_default_expires}, + {0, 0, 0} +};
/* module exports */ struct module_exports exports = { - "presence_conference", /* 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 */ + "presence_conference", /* 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 */
/* * init module function