kamailio.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
List overview
Download
sr-dev
December 2024
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
sr-dev@lists.kamailio.org
17 participants
312 discussions
Start a n
N
ew thread
git:master:c7c25190: pike: reformat exported structures
by Victor Seva
Module: kamailio Branch: master Commit: c7c25190e008723a78c827a40a52363b116013f5 URL:
https://github.com/kamailio/kamailio/commit/c7c25190e008723a78c827a40a52363…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org> Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org> Date: 2024-12-11T21:52:33+01:00 pike: reformat exported structures --- Modified: src/modules/pike/pike.c --- Diff:
https://github.com/kamailio/kamailio/commit/c7c25190e008723a78c827a40a52363…
Patch:
https://github.com/kamailio/kamailio/commit/c7c25190e008723a78c827a40a52363…
--- diff --git a/src/modules/pike/pike.c b/src/modules/pike/pike.c index e4791dd2046..f0191c6e003 100644 --- a/src/modules/pike/pike.c +++ b/src/modules/pike/pike.c @@ -60,33 +60,36 @@ int pike_log_level = L_WARN; gen_lock_t *pike_timer_lock = 0; pike_list_link_t *pike_timer = 0; - -static cmd_export_t cmds[] = {{"pike_check_req", (cmd_function)w_pike_check_req, - 0, 0, 0, REQUEST_ROUTE | ONREPLY_ROUTE}, - {"pike_check_ip", (cmd_function)w_pike_check_ip, 1, fixup_spve_null, - fixup_free_spve_null, REQUEST_ROUTE | ONREPLY_ROUTE}, - {0, 0, 0, 0, 0, 0}}; +/* clang-format off */ +static cmd_export_t cmds[] = { + {"pike_check_req", (cmd_function)w_pike_check_req, 0, + 0, 0, REQUEST_ROUTE | ONREPLY_ROUTE}, + {"pike_check_ip", (cmd_function)w_pike_check_ip, 1, + fixup_spve_null, fixup_free_spve_null, REQUEST_ROUTE | ONREPLY_ROUTE}, + {0, 0, 0, 0, 0, 0} +}; static param_export_t params[] = { - {"sampling_time_unit", PARAM_INT, &pike_time_unit}, - {"reqs_density_per_unit", PARAM_INT, &pike_max_reqs}, - {"remove_latency", PARAM_INT, &pike_timeout}, - {"pike_log_level", PARAM_INT, &pike_log_level}, {0, 0, 0}}; - + {"sampling_time_unit", PARAM_INT, &pike_time_unit}, + {"reqs_density_per_unit", PARAM_INT, &pike_max_reqs}, + {"remove_latency", PARAM_INT, &pike_timeout}, + {"pike_log_level", PARAM_INT, &pike_log_level}, + {0, 0, 0} +}; struct module_exports exports = { - "pike", /* module name */ - DEFAULT_DLFLAGS, /* dlopen flags */ - cmds, /* cmd exports */ - params, /* param exports */ - 0, /* RPC method exports */ - 0, /* exported pseudo-variables */ - 0, /* response handling function */ - pike_init, /* module initialization function */ - 0, /* per-child init function */ - pike_exit /* module exit function */ + "pike", /* module name */ + DEFAULT_DLFLAGS, /* dlopen flags */ + cmds, /* exported functions */ + params, /* exported parameters */ + 0, /* RPC method exports */ + 0, /* exported pseudo-variables */ + 0, /* response handling function */ + pike_init, /* module initialization function */ + 0, /* per-child init function */ + pike_exit /* module destroy function */ }; - +/* clang-format on */ static int pike_init(void) {
1 week, 4 days
1
0
0
0
git:master:78594dbf: pipelimit: add fixup_free* to exported functions
by Victor Seva
Module: kamailio Branch: master Commit: 78594dbf653b46d24cc7eaa26ff28b43b0c024ce URL:
https://github.com/kamailio/kamailio/commit/78594dbf653b46d24cc7eaa26ff28b4…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org> Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org> Date: 2024-12-11T21:49:06+01:00 pipelimit: add fixup_free* to exported functions --- Modified: src/modules/pipelimit/pipelimit.c --- Diff:
https://github.com/kamailio/kamailio/commit/78594dbf653b46d24cc7eaa26ff28b4…
Patch:
https://github.com/kamailio/kamailio/commit/78594dbf653b46d24cc7eaa26ff28b4…
--- diff --git a/src/modules/pipelimit/pipelimit.c b/src/modules/pipelimit/pipelimit.c index a632a4cda51..10641ebed00 100644 --- a/src/modules/pipelimit/pipelimit.c +++ b/src/modules/pipelimit/pipelimit.c @@ -132,18 +132,22 @@ static int w_pl_drop_forced(struct sip_msg *, char *, char *); static int w_pl_drop(struct sip_msg *, char *, char *); static void destroy(void); static int fixup_pl_check3(void **param, int param_no); +static int fixup_free_pl_check3(void **param, int param_no); /* clang-format off */ static cmd_export_t cmds[] = { - {"pl_check", (cmd_function)w_pl_check, 1, fixup_spve_null, 0, ANY_ROUTE}, - {"pl_check", (cmd_function)w_pl_check3, 3, fixup_pl_check3, 0, ANY_ROUTE}, - {"pl_active", (cmd_function)w_pl_active, 1, fixup_spve_null, 0, ANY_ROUTE}, - {"pl_drop", (cmd_function)w_pl_drop_default, 0, 0, 0, - REQUEST_ROUTE | BRANCH_ROUTE | FAILURE_ROUTE | ONSEND_ROUTE}, - {"pl_drop", (cmd_function)w_pl_drop_forced, 1, fixup_uint_null, 0, - REQUEST_ROUTE | BRANCH_ROUTE | FAILURE_ROUTE | ONSEND_ROUTE}, - {"pl_drop", (cmd_function)w_pl_drop, 2, fixup_uint_uint, 0, - REQUEST_ROUTE | BRANCH_ROUTE | FAILURE_ROUTE | ONSEND_ROUTE}, + {"pl_check", (cmd_function)w_pl_check, 1, + fixup_spve_null, fixup_free_spve_null, ANY_ROUTE}, + {"pl_check", (cmd_function)w_pl_check3, 3, + fixup_pl_check3, fixup_free_pl_check3, ANY_ROUTE}, + {"pl_active", (cmd_function)w_pl_active, 1, + fixup_spve_null, fixup_free_spve_null, ANY_ROUTE}, + {"pl_drop", (cmd_function)w_pl_drop_default, 0, + 0, 0, REQUEST_ROUTE | BRANCH_ROUTE | FAILURE_ROUTE | ONSEND_ROUTE}, + {"pl_drop", (cmd_function)w_pl_drop_forced, 1, + fixup_uint_null, 0, REQUEST_ROUTE | BRANCH_ROUTE | FAILURE_ROUTE | ONSEND_ROUTE}, + {"pl_drop", (cmd_function)w_pl_drop, 2, + fixup_uint_uint, 0, REQUEST_ROUTE | BRANCH_ROUTE | FAILURE_ROUTE | ONSEND_ROUTE}, {0, 0, 0, 0, 0, 0} }; @@ -689,6 +693,17 @@ static int fixup_pl_check3(void **param, int param_no) return 0; } +static int fixup_free_pl_check3(void **param, int param_no) +{ + if(param_no == 1) + return fixup_free_spve_null(param, 1); + if(param_no == 2) + return fixup_free_spve_null(param, 1); + if(param_no == 3) + return fixup_free_igp_null(param, 1); + return 0; +} + static int pl_active(sip_msg_t *msg, str *pipeid) { pl_pipe_t *pipe = NULL;
1 week, 4 days
1
0
0
0
git:master:04cbace2: prefix_route: add fixup_free* to exported functions
by Victor Seva
Module: kamailio Branch: master Commit: 04cbace26b1e145c15fcff51445571cedfd4031d URL:
https://github.com/kamailio/kamailio/commit/04cbace26b1e145c15fcff51445571c…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org> Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org> Date: 2024-12-11T21:42:13+01:00 prefix_route: add fixup_free* to exported functions --- Modified: src/modules/prefix_route/prefix_route.c --- Diff:
https://github.com/kamailio/kamailio/commit/04cbace26b1e145c15fcff51445571c…
Patch:
https://github.com/kamailio/kamailio/commit/04cbace26b1e145c15fcff51445571c…
--- diff --git a/src/modules/prefix_route/prefix_route.c b/src/modules/prefix_route/prefix_route.c index 43c27900666..53d09f26ef9 100644 --- a/src/modules/prefix_route/prefix_route.c +++ b/src/modules/prefix_route/prefix_route.c @@ -326,7 +326,7 @@ static int prefix_route(struct sip_msg *msg, char *p1, char *p2) static cmd_export_t cmds[] = { {"prefix_route", prefix_route, 0, 0, 0, REQUEST_ROUTE | BRANCH_ROUTE | FAILURE_ROUTE}, - {"prefix_route", prefix_route, 1, fixup_spve_null, 0, ANY_ROUTE}, + {"prefix_route", prefix_route, 1, fixup_spve_null, fixup_free_spve_null, ANY_ROUTE}, {0, 0, 0, 0, 0, 0} };
1 week, 4 days
1
0
0
0
git:master:713efe7b: prefix_route: reformat exported structures
by Victor Seva
Module: kamailio Branch: master Commit: 713efe7b382e9e1d83240f3e348cbf46db46f1de URL:
https://github.com/kamailio/kamailio/commit/713efe7b382e9e1d83240f3e348cbf4…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org> Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org> Date: 2024-12-11T21:41:17+01:00 prefix_route: reformat exported structures --- Modified: src/modules/prefix_route/prefix_route.c --- Diff:
https://github.com/kamailio/kamailio/commit/713efe7b382e9e1d83240f3e348cbf4…
Patch:
https://github.com/kamailio/kamailio/commit/713efe7b382e9e1d83240f3e348cbf4…
--- diff --git a/src/modules/prefix_route/prefix_route.c b/src/modules/prefix_route/prefix_route.c index af1e36ccb36..43c27900666 100644 --- a/src/modules/prefix_route/prefix_route.c +++ b/src/modules/prefix_route/prefix_route.c @@ -321,41 +321,36 @@ static int prefix_route(struct sip_msg *msg, char *p1, char *p2) return ki_prefix_route(msg, &user); } -/* - * Exported functions - */ + +/* clang-format off */ static cmd_export_t cmds[] = { - {"prefix_route", prefix_route, 0, 0, 0, - REQUEST_ROUTE | BRANCH_ROUTE | FAILURE_ROUTE}, - {"prefix_route", prefix_route, 1, fixup_spve_null, 0, ANY_ROUTE}, - {0, 0, 0, 0, 0, 0}}; + {"prefix_route", prefix_route, 0, 0, 0, + REQUEST_ROUTE | BRANCH_ROUTE | FAILURE_ROUTE}, + {"prefix_route", prefix_route, 1, fixup_spve_null, 0, ANY_ROUTE}, + {0, 0, 0, 0, 0, 0} +}; -/* - * Exported parameters - */ -static param_export_t params[] = {{"db_url", PARAM_STRING, &db_url}, - {"db_table", PARAM_STRING, &db_table}, - {"exit", PARAM_INT, &prefix_route_exit}, {0, 0, 0}}; +static param_export_t params[] = { + {"db_url", PARAM_STRING, &db_url}, + {"db_table", PARAM_STRING, &db_table}, + {"exit", PARAM_INT, &prefix_route_exit}, + {0, 0, 0} +}; -/* - * Module description - */ struct module_exports exports = { - "prefix_route", /* Module name */ - DEFAULT_DLFLAGS, /* dlopen flags */ - cmds, /* exported functions */ - params, /* exported parameters */ - pr_rpc, /* RPC methods */ - 0, /* pseudo-variables exports */ - 0, /* response function */ - mod_init, /* initialization function */ - 0, /* per-child init function */ - mod_destroy /* module destroy function */ + "prefix_route", /* Module name */ + DEFAULT_DLFLAGS, /* dlopen flags */ + cmds, /* exported functions */ + params, /* exported parameters */ + pr_rpc, /* RPC method exports */ + 0, /* exported pseudo-variables */ + 0, /* response handling function */ + mod_init, /* module initialization function */ + 0, /* per-child init function */ + mod_destroy /* module destroy function */ }; +/* clang-format on */ -/** - * - */ /* clang-format off */ static sr_kemi_t sr_kemi_prefix_route_exports[] = { { str_init("prefix_route"), str_init("prefix_route"),
1 week, 4 days
1
0
0
0
git:master:0511e00f: presence: add fixup_free* to exported functions
by Victor Seva
Module: kamailio Branch: master Commit: 0511e00f9ece75a61b8a3799a3d75f08c2013afa URL:
https://github.com/kamailio/kamailio/commit/0511e00f9ece75a61b8a3799a3d75f0…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org> Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org> Date: 2024-12-11T21:35:08+01:00 presence: add fixup_free* to exported functions --- Modified: src/modules/presence/presence.c --- Diff:
https://github.com/kamailio/kamailio/commit/0511e00f9ece75a61b8a3799a3d75f0…
Patch:
https://github.com/kamailio/kamailio/commit/0511e00f9ece75a61b8a3799a3d75f0…
1 week, 4 days
1
0
0
0
git:master:0aa58fe6: devcontainer: add cmake and cmake extensions [skip ci]
by Victor Seva
Module: kamailio Branch: master Commit: 0aa58fe66845cb1b4fe1b6d14fbb73df1bdfb640 URL:
https://github.com/kamailio/kamailio/commit/0aa58fe66845cb1b4fe1b6d14fbb73d…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org> Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org> Date: 2024-12-11T21:11:03+01:00 devcontainer: add cmake and cmake extensions [skip ci] --- Modified: .devcontainer/Dockerfile Modified: .devcontainer/devcontainer.json --- Diff:
https://github.com/kamailio/kamailio/commit/0aa58fe66845cb1b4fe1b6d14fbb73d…
Patch:
https://github.com/kamailio/kamailio/commit/0aa58fe66845cb1b4fe1b6d14fbb73d…
--- diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 50a901b764a..1a493a5f72a 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -3,7 +3,7 @@ FROM
mcr.microsoft.com/devcontainers/base:bookworm
RUN apt-get update && \ export DEBIAN_FRONTEND=noninteractive && \ apt-get -y install --no-install-recommends \ - apt-utils dialog clang-format clang pbuilder + apt-utils dialog clang-format clang pbuilder cmake # bookworm packaging RUN mkdir -p /usr/local/src/pkg diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 2a0413eae4d..2a307c79e3e 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -28,7 +28,9 @@ "ms-vscode.cpptools-extension-pack", "GitHub.vscode-github-actions", "eamodio.gitlens", - "xaver.clang-format" + "xaver.clang-format", + "cheshirekow.cmake-format", + "brobeson.vscode-cmake-lint" ] } },
1 week, 4 days
1
0
0
0
git:master:c28bd510: presence_conference: reformat exported structures
by Victor Seva
Module: kamailio Branch: master Commit: c28bd51076b5c50836cd4946e4e93c6d445fe068 URL:
https://github.com/kamailio/kamailio/commit/c28bd51076b5c50836cd4946e4e93c6…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org> Committer: Victor Seva <linuxmaniac(a)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/c28bd51076b5c50836cd4946e4e93c6…
Patch:
https://github.com/kamailio/kamailio/commit/c28bd51076b5c50836cd4946e4e93c6…
--- 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
1 week, 4 days
1
0
0
0
git:master:0193b484: presence_dialoginfo: reformat exported structures
by Victor Seva
Module: kamailio Branch: master Commit: 0193b48403c7d6d43370ddcd6a2ecafaee023e07 URL:
https://github.com/kamailio/kamailio/commit/0193b48403c7d6d43370ddcd6a2ecaf…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org> Committer: Victor Seva <linuxmaniac(a)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/0193b48403c7d6d43370ddcd6a2ecaf…
Patch:
https://github.com/kamailio/kamailio/commit/0193b48403c7d6d43370ddcd6a2ecaf…
--- 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
1 week, 4 days
1
0
0
0
git:master:802bee7c: presence_mwi: reformat exported structures
by Victor Seva
Module: kamailio Branch: master Commit: 802bee7c205d402f6bdc3ba9c4210966ea758506 URL:
https://github.com/kamailio/kamailio/commit/802bee7c205d402f6bdc3ba9c421096…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org> Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org> Date: 2024-12-11T19:33:53+01:00 presence_mwi: reformat exported structures --- Modified: src/modules/presence_mwi/presence_mwi.c --- Diff:
https://github.com/kamailio/kamailio/commit/802bee7c205d402f6bdc3ba9c421096…
Patch:
https://github.com/kamailio/kamailio/commit/802bee7c205d402f6bdc3ba9c421096…
--- diff --git a/src/modules/presence_mwi/presence_mwi.c b/src/modules/presence_mwi/presence_mwi.c index 8024ad3d840..878c1a25527 100644 --- a/src/modules/presence_mwi/presence_mwi.c +++ b/src/modules/presence_mwi/presence_mwi.c @@ -62,26 +62,32 @@ add_event_t pres_add_event; /* module parameters */ unsigned int pres_mwi_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[] = { - {"default_expires", PARAM_INT, &pres_mwi_default_expires}, {0, 0, 0}}; + {"default_expires", PARAM_INT, &pres_mwi_default_expires}, + {0, 0, 0} +}; /* module exports */ struct module_exports exports = { "presence_mwi", /* 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 */ + 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
1 week, 4 days
1
0
0
0
git:master:d916aa67: presence_profile: reformat exported structures
by Victor Seva
Module: kamailio Branch: master Commit: d916aa671f10b284aff0217fdf3182256b62ec7e URL:
https://github.com/kamailio/kamailio/commit/d916aa671f10b284aff0217fdf31822…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org> Committer: Victor Seva <linuxmaniac(a)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/d916aa671f10b284aff0217fdf31822…
Patch:
https://github.com/kamailio/kamailio/commit/d916aa671f10b284aff0217fdf31822…
--- 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 */
1 week, 4 days
1
0
0
0
← Newer
1
...
17
18
19
20
21
22
23
...
32
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Results per page:
10
25
50
100
200