Module: kamailio Branch: master Commit: 0193b48403c7d6d43370ddcd6a2ecafaee023e07 URL: https://github.com/kamailio/kamailio/commit/0193b48403c7d6d43370ddcd6a2ecafa...
Author: Victor Seva linuxmaniac@torreviejawireless.org Committer: Victor Seva linuxmaniac@torreviejawireless.org Date: 2024-12-11T19:35:37+01:00
presence_dialoginfo: reformat exported structures
---
Modified: src/modules/presence_dialoginfo/presence_dialoginfo.c
---
Diff: https://github.com/kamailio/kamailio/commit/0193b48403c7d6d43370ddcd6a2ecafa... Patch: https://github.com/kamailio/kamailio/commit/0193b48403c7d6d43370ddcd6a2ecafa...
---
diff --git a/src/modules/presence_dialoginfo/presence_dialoginfo.c b/src/modules/presence_dialoginfo/presence_dialoginfo.c index 46b3212340a..2ecf56024c2 100644 --- a/src/modules/presence_dialoginfo/presence_dialoginfo.c +++ b/src/modules/presence_dialoginfo/presence_dialoginfo.c @@ -51,29 +51,34 @@ int force_single_dialog = 0; int force_dummy_dialog = 0; unsigned int pres_dlginfo_default_expires = 3600;
+/* 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[] = { - {"force_single_dialog", PARAM_INT, &force_single_dialog}, - {"force_dummy_dialog", PARAM_INT, &force_dummy_dialog}, - {"default_expires", PARAM_INT, &pres_dlginfo_default_expires}, - {0, 0, 0}}; + {"force_single_dialog", PARAM_INT, &force_single_dialog}, + {"force_dummy_dialog", PARAM_INT, &force_dummy_dialog}, + {"default_expires", PARAM_INT, &pres_dlginfo_default_expires}, + {0, 0, 0} +};
/* module exports */ struct module_exports exports = { - "presence_dialoginfo", /* 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_dialoginfo", /* 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