Module: kamailio Branch: master Commit: 6f1e01e4ec4c6335d19f5cc1eb6e2b4d0381a267 URL: https://github.com/kamailio/kamailio/commit/6f1e01e4ec4c6335d19f5cc1eb6e2b4d0381a267
Author: Victor Seva <linuxman...@torreviejawireless.org> Committer: Victor Seva <linuxman...@torreviejawireless.org> Date: 2024-11-20T12:14:22+01:00 uuid: reformat exported structures --- Modified: src/modules/uuid/uuid_mod.c --- Diff: https://github.com/kamailio/kamailio/commit/6f1e01e4ec4c6335d19f5cc1eb6e2b4d0381a267.diff Patch: https://github.com/kamailio/kamailio/commit/6f1e01e4ec4c6335d19f5cc1eb6e2b4d0381a267.patch --- diff --git a/src/modules/uuid/uuid_mod.c b/src/modules/uuid/uuid_mod.c index 26a327a3528..dabbd21b555 100644 --- a/src/modules/uuid/uuid_mod.c +++ b/src/modules/uuid/uuid_mod.c @@ -52,29 +52,33 @@ static char _k_uuid_str[KSR_UUID_BSIZE]; int pv_get_uuid(sip_msg_t *msg, pv_param_t *param, pv_value_t *res); int pv_parse_uuid_name(pv_spec_p sp, str *in); +/* clang-format off */ static pv_export_t mod_pvs[] = { - {{"uuid", (sizeof("uuid") - 1)}, PVT_OTHER, pv_get_uuid, 0, - pv_parse_uuid_name, 0, 0, 0}, - - {{0, 0}, 0, 0, 0, 0, 0, 0, 0}}; + {{"uuid", (sizeof("uuid") - 1)}, PVT_OTHER, pv_get_uuid, 0, pv_parse_uuid_name, 0, 0, 0}, + {{0, 0}, 0, 0, 0, 0, 0, 0, 0} +}; -static cmd_export_t cmds[] = {{0, 0, 0, 0, 0, 0}}; +static cmd_export_t cmds[] = { + {0, 0, 0, 0, 0, 0} +}; -static param_export_t params[] = {{0, 0, 0}}; +static param_export_t params[] = { + {0, 0, 0} +}; struct module_exports exports = { - "uuid", /* module name */ - DEFAULT_DLFLAGS, /* dlopen flags */ - cmds, /* exported functions */ - params, /* exported parameters */ - 0, /* exported rpc functions */ - mod_pvs, /* exported pseudo-variables */ - 0, /* response handling function */ - mod_init, /* module init function */ - child_init, /* per child init function */ - mod_destroy /* destroy function */ + "uuid", /* module name */ + DEFAULT_DLFLAGS, /* dlopen flags */ + cmds, /* exported functions */ + params, /* exported parameters */ + 0, /* exported rpc functions */ + mod_pvs, /* exported pseudo-variables */ + 0, /* response handling function */ + mod_init, /* module init function */ + child_init, /* per child init function */ + mod_destroy /* destroy function */ }; - +/* clang-format on */ /** * init module function _______________________________________________ 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!