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
2025
June
May
April
March
February
January
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
November 2024
----- 2025 -----
June 2025
May 2025
April 2025
March 2025
February 2025
January 2025
----- 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
20 participants
375 discussions
Start a n
N
ew thread
git:master:459d8421: xhttp_prom: add fixup_free* to exported functions
by Victor Seva
20 Nov '24
20 Nov '24
Module: kamailio Branch: master Commit: 459d8421f8cb1bd0e8e9084582f7625d30482b1c URL:
https://github.com/kamailio/kamailio/commit/459d8421f8cb1bd0e8e9084582f7625…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org> Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org> Date: 2024-11-20T11:20:28+01:00 xhttp_prom: add fixup_free* to exported functions --- Modified: src/modules/xhttp_prom/xhttp_prom.c --- Diff:
https://github.com/kamailio/kamailio/commit/459d8421f8cb1bd0e8e9084582f7625…
Patch:
https://github.com/kamailio/kamailio/commit/459d8421f8cb1bd0e8e9084582f7625…
1
0
0
0
git:master:408af862: xhttp_prom: reformat exported structures
by Victor Seva
20 Nov '24
20 Nov '24
Module: kamailio Branch: master Commit: 408af86210eb407b56322d8bdefe3ff6ea72c369 URL:
https://github.com/kamailio/kamailio/commit/408af86210eb407b56322d8bdefe3ff…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org> Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org> Date: 2024-11-20T11:11:46+01:00 xhttp_prom: reformat exported structures --- Modified: src/modules/xhttp_prom/xhttp_prom.c --- Diff:
https://github.com/kamailio/kamailio/commit/408af86210eb407b56322d8bdefe3ff…
Patch:
https://github.com/kamailio/kamailio/commit/408af86210eb407b56322d8bdefe3ff…
1
0
0
0
git:master:37afcc67: xhttp_rpc: reformat exported structures
by Victor Seva
20 Nov '24
20 Nov '24
Module: kamailio Branch: master Commit: 37afcc67095807cd6159898e2f87debd1353b2ed URL:
https://github.com/kamailio/kamailio/commit/37afcc67095807cd6159898e2f87deb…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org> Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org> Date: 2024-11-20T11:07:01+01:00 xhttp_rpc: reformat exported structures --- Modified: src/modules/xhttp_rpc/xhttp_rpc.c --- Diff:
https://github.com/kamailio/kamailio/commit/37afcc67095807cd6159898e2f87deb…
Patch:
https://github.com/kamailio/kamailio/commit/37afcc67095807cd6159898e2f87deb…
--- diff --git a/src/modules/xhttp_rpc/xhttp_rpc.c b/src/modules/xhttp_rpc/xhttp_rpc.c index b3aa20db2d8..9c2f24947b1 100644 --- a/src/modules/xhttp_rpc/xhttp_rpc.c +++ b/src/modules/xhttp_rpc/xhttp_rpc.c @@ -85,29 +85,32 @@ str xhttp_rpc_root = str_init("rpc"); int buf_size = 0; char error_buf[ERROR_REASON_BUF_LEN]; +/* clang-format off */ static cmd_export_t cmds[] = { - {"dispatch_xhttp_rpc", (cmd_function)xhttp_rpc_dispatch, 0, 0, 0, - REQUEST_ROUTE | EVENT_ROUTE}, - {0, 0, 0, 0, 0, 0}}; + {"dispatch_xhttp_rpc", (cmd_function)xhttp_rpc_dispatch, 0, 0, 0, REQUEST_ROUTE | EVENT_ROUTE}, + {0, 0, 0, 0, 0, 0} +}; static param_export_t params[] = { - {"xhttp_rpc_root", PARAM_STR, &xhttp_rpc_root}, - {"xhttp_rpc_buf_size", PARAM_INT, &buf_size}, {0, 0, 0}}; + {"xhttp_rpc_root", PARAM_STR, &xhttp_rpc_root}, + {"xhttp_rpc_buf_size", PARAM_INT, &buf_size}, + {0, 0, 0} +}; /** module exports */ struct module_exports exports = { - "xhttp_rpc", /* module name */ - DEFAULT_DLFLAGS, /* dlopen flags */ - cmds, /* cmd (cfg function) exports */ - params, /* param exports */ - 0, /* RPC method exports */ - 0, /* pv exports */ - 0, /* response handling function */ - mod_init, /* module init function */ - child_init, /* per-child init function */ - 0 /* module destroy function */ + "xhttp_rpc", /* module name */ + DEFAULT_DLFLAGS, /* dlopen flags */ + cmds, /* cmd (cfg function) exports */ + params, /* param exports */ + 0, /* RPC method exports */ + 0, /* pv exports */ + 0, /* response handling function */ + mod_init, /* module init function */ + child_init, /* per-child init function */ + 0 /* module destroy function */ }; - +/* clang-format on */ /** Implementation of rpc_fault function required by the management API. *
1
0
0
0
git:master:451066e8: xlog: reformat exported structures
by Victor Seva
20 Nov '24
20 Nov '24
Module: kamailio Branch: master Commit: 451066e8e1b98c4c2a59827a661b18155515399d URL:
https://github.com/kamailio/kamailio/commit/451066e8e1b98c4c2a59827a661b181…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org> Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org> Date: 2024-11-20T11:04:37+01:00 xlog: reformat exported structures --- Modified: src/modules/xlog/xlog.c --- Diff:
https://github.com/kamailio/kamailio/commit/451066e8e1b98c4c2a59827a661b181…
Patch:
https://github.com/kamailio/kamailio/commit/451066e8e1b98c4c2a59827a661b181…
1
0
0
0
git:master:36824d8d: lib/xcap: relocated to archive
by Daniel-Constantin Mierla
20 Nov '24
20 Nov '24
Module: kamailio Branch: master Commit: 36824d8daf84369f6428643aee7837cf095cf4cf URL:
https://github.com/kamailio/kamailio/commit/36824d8daf84369f6428643aee7837c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2024-11-20T10:48:14+01:00 lib/xcap: relocated to archive - new location:
https://github.com/kamailio/kamailio-archive
--- Removed: src/lib/xcap/ChangeLog Removed: src/lib/xcap/Makefile Removed: src/lib/xcap/Makefile.nonser Removed: src/lib/xcap/common_policy.c Removed: src/lib/xcap/common_policy.h Removed: src/lib/xcap/doc/Makefile Removed: src/lib/xcap/doc/xcap.xml Removed: src/lib/xcap/msg_rules.c Removed: src/lib/xcap/msg_rules.h Removed: src/lib/xcap/parse_common_rules.c Removed: src/lib/xcap/parse_common_rules.h Removed: src/lib/xcap/parse_msg_rules.c Removed: src/lib/xcap/parse_msg_rules.h Removed: src/lib/xcap/parse_pres_rules.c Removed: src/lib/xcap/parse_pres_rules.h Removed: src/lib/xcap/pres_rules.c Removed: src/lib/xcap/pres_rules.h Removed: src/lib/xcap/resource_list.c Removed: src/lib/xcap/resource_list.h Removed: src/lib/xcap/resource_lists_parser.c Removed: src/lib/xcap/resource_lists_parser.h Removed: src/lib/xcap/rls_services_parser.c Removed: src/lib/xcap/rls_services_parser.h Removed: src/lib/xcap/xcap_client.c Removed: src/lib/xcap/xcap_client.h Removed: src/lib/xcap/xcap_result_codes.h Removed: src/lib/xcap/xml_utils.c Removed: src/lib/xcap/xml_utils.h --- Diff:
https://github.com/kamailio/kamailio/commit/36824d8daf84369f6428643aee7837c…
Patch:
https://github.com/kamailio/kamailio/commit/36824d8daf84369f6428643aee7837c…
1
0
0
0
git:master:9cba8b05: lib/shm_regex: relocated to archive
by Daniel-Constantin Mierla
20 Nov '24
20 Nov '24
Module: kamailio Branch: master Commit: 9cba8b050e45749307fbcbb75abc1d91fc06b917 URL:
https://github.com/kamailio/kamailio/commit/9cba8b050e45749307fbcbb75abc1d9…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2024-11-20T10:48:14+01:00 lib/shm_regex: relocated to archive - new location:
https://github.com/kamailio/kamailio-archive
--- Removed: src/lib/shm_regex/Makefile Removed: src/lib/shm_regex/README Removed: src/lib/shm_regex/shm_regex.c Removed: src/lib/shm_regex/shm_regex.h --- Diff:
https://github.com/kamailio/kamailio/commit/9cba8b050e45749307fbcbb75abc1d9…
Patch:
https://github.com/kamailio/kamailio/commit/9cba8b050e45749307fbcbb75abc1d9…
1
0
0
0
git:master:54a9e584: lib/presence: relocated to archive
by Daniel-Constantin Mierla
20 Nov '24
20 Nov '24
Module: kamailio Branch: master Commit: 54a9e5843739968c34c23391d66de58d3815d165 URL:
https://github.com/kamailio/kamailio/commit/54a9e5843739968c34c23391d66de58…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2024-11-20T10:48:14+01:00 lib/presence: relocated to archive - new location:
https://github.com/kamailio/kamailio-archive
--- Removed: src/lib/presence/.cvsignore Removed: src/lib/presence/ChangeLog Removed: src/lib/presence/Makefile Removed: src/lib/presence/Makefile.nonser Removed: src/lib/presence/doc/Makefile Removed: src/lib/presence/doc/presence.xml Removed: src/lib/presence/domain_maintainer.c Removed: src/lib/presence/domain_maintainer.h Removed: src/lib/presence/lpidf.c Removed: src/lib/presence/lpidf.h Removed: src/lib/presence/notifier.h Removed: src/lib/presence/notifier_domain.c Removed: src/lib/presence/notifier_domain.h Removed: src/lib/presence/pidf.c Removed: src/lib/presence/pidf.h Removed: src/lib/presence/pres_doc.c Removed: src/lib/presence/pres_doc.h Removed: src/lib/presence/qsa.c Removed: src/lib/presence/qsa.h Removed: src/lib/presence/qsa_params.c Removed: src/lib/presence/qsa_params.h Removed: src/lib/presence/subscriber.h Removed: src/lib/presence/subscription_info.h Removed: src/lib/presence/utils.c Removed: src/lib/presence/utils.h Removed: src/lib/presence/xml_utils.c Removed: src/lib/presence/xml_utils.h Removed: src/lib/presence/xpidf.c Removed: src/lib/presence/xpidf.h --- Diff:
https://github.com/kamailio/kamailio/commit/54a9e5843739968c34c23391d66de58…
Patch:
https://github.com/kamailio/kamailio/commit/54a9e5843739968c34c23391d66de58…
1
0
0
0
git:master:d93c7505: lib/cds: relocated to archive
by Daniel-Constantin Mierla
20 Nov '24
20 Nov '24
Module: kamailio Branch: master Commit: d93c750537a7084782b173edde0b16b81516fc60 URL:
https://github.com/kamailio/kamailio/commit/d93c750537a7084782b173edde0b16b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com> Committer: Daniel-Constantin Mierla <miconda(a)gmail.com> Date: 2024-11-20T10:48:14+01:00 lib/cds: relocated to archive - new location:
https://github.com/kamailio/kamailio-archive
--- Removed: src/lib/cds/.cvsignore Removed: src/lib/cds/ChangeLog Removed: src/lib/cds/Makefile Removed: src/lib/cds/Makefile.nonser Removed: src/lib/cds/base64.c Removed: src/lib/cds/base64.h Removed: src/lib/cds/cds.c Removed: src/lib/cds/cds.h Removed: src/lib/cds/dbid.c Removed: src/lib/cds/dbid.h Removed: src/lib/cds/doc/Makefile Removed: src/lib/cds/doc/cds.xml Removed: src/lib/cds/doc/cds_free.xml Removed: src/lib/cds/doc/cds_free_ptr.xml Removed: src/lib/cds/doc/cds_malloc.xml Removed: src/lib/cds/doc/cds_malloc_ptr.xml Removed: src/lib/cds/doc/cds_mutex_destroy.xml Removed: src/lib/cds/doc/cds_mutex_init.xml Removed: src/lib/cds/doc/cds_mutex_lock.xml Removed: src/lib/cds/doc/cds_mutex_t.xml Removed: src/lib/cds/doc/cds_mutex_unlock.xml Removed: src/lib/cds/doc/create_message.xml Removed: src/lib/cds/doc/create_message_ex.xml Removed: src/lib/cds/doc/destroy_sstream.xml Removed: src/lib/cds/doc/dstr_append.xml Removed: src/lib/cds/doc/dstr_get_data.xml Removed: src/lib/cds/doc/dstr_init.xml Removed: src/lib/cds/doc/dstring.xml Removed: src/lib/cds/doc/dstring_t.xml Removed: src/lib/cds/doc/free_message.xml Removed: src/lib/cds/doc/get_serialized_sstream.xml Removed: src/lib/cds/doc/init_input_sstream.xml Removed: src/lib/cds/doc/init_message_ex.xml Removed: src/lib/cds/doc/init_output_sstream.xml Removed: src/lib/cds/doc/is_msg_queue_empty.xml Removed: src/lib/cds/doc/memory.xml Removed: src/lib/cds/doc/mq_message_t.xml Removed: src/lib/cds/doc/msg_queue.xml Removed: src/lib/cds/doc/msg_queue_destroy.xml Removed: src/lib/cds/doc/msg_queue_init.xml Removed: src/lib/cds/doc/msg_queue_init_ex.xml Removed: src/lib/cds/doc/msg_queue_t.xml Removed: src/lib/cds/doc/pop_message.xml Removed: src/lib/cds/doc/push_message.xml Removed: src/lib/cds/doc/serialization.xml Removed: src/lib/cds/doc/serialize_char.xml Removed: src/lib/cds/doc/serialize_int.xml Removed: src/lib/cds/doc/serialize_str.xml Removed: src/lib/cds/doc/serialize_uchar.xml Removed: src/lib/cds/doc/serialize_uint.xml Removed: src/lib/cds/doc/set_data_destroy_function.xml Removed: src/lib/cds/doc/sstr.xml Removed: src/lib/cds/doc/sstream_get.xml Removed: src/lib/cds/doc/sstream_get_str.xml Removed: src/lib/cds/doc/sstream_get_str_ex.xml Removed: src/lib/cds/doc/sstream_put.xml Removed: src/lib/cds/doc/sstream_put_str.xml Removed: src/lib/cds/doc/sstream_put_zt.xml Removed: src/lib/cds/doc/sstream_t.xml Removed: src/lib/cds/doc/str_clear.xml Removed: src/lib/cds/doc/str_dup.xml Removed: src/lib/cds/doc/str_free.xml Removed: src/lib/cds/doc/str_free_content.xml Removed: src/lib/cds/doc/str_other.xml Removed: src/lib/cds/doc/str_t.xml Removed: src/lib/cds/doc/sync.xml Removed: src/lib/cds/dstring.c Removed: src/lib/cds/dstring.h Removed: src/lib/cds/hash_table.c Removed: src/lib/cds/hash_table.h Removed: src/lib/cds/list.h Removed: src/lib/cds/logger.h Removed: src/lib/cds/memory.c Removed: src/lib/cds/memory.h Removed: src/lib/cds/msg_queue.c Removed: src/lib/cds/msg_queue.h Removed: src/lib/cds/ptr_vector.c Removed: src/lib/cds/ptr_vector.h Removed: src/lib/cds/ref_cntr.c Removed: src/lib/cds/ref_cntr.h Removed: src/lib/cds/rr_serialize.c Removed: src/lib/cds/rr_serialize.h Removed: src/lib/cds/ser_profile.c Removed: src/lib/cds/ser_profile.h Removed: src/lib/cds/serialize.c Removed: src/lib/cds/serialize.h Removed: src/lib/cds/simple_profile.c Removed: src/lib/cds/simple_profile.h Removed: src/lib/cds/sip_utils.c Removed: src/lib/cds/sip_utils.h Removed: src/lib/cds/sstr.c Removed: src/lib/cds/sstr.h Removed: src/lib/cds/sync.h Removed: src/lib/cds/vector.c Removed: src/lib/cds/vector.h --- Diff:
https://github.com/kamailio/kamailio/commit/d93c750537a7084782b173edde0b16b…
Patch:
https://github.com/kamailio/kamailio/commit/d93c750537a7084782b173edde0b16b…
1
0
0
0
git:master:d1101632: xmlrpc: reformat exported structures
by Victor Seva
20 Nov '24
20 Nov '24
Module: kamailio Branch: master Commit: d11016326effb138372ac3ba97340a140c147546 URL:
https://github.com/kamailio/kamailio/commit/d11016326effb138372ac3ba97340a1…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org> Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org> Date: 2024-11-20T10:41:50+01:00 xmlrpc: reformat exported structures --- Modified: src/modules/xmlrpc/xmlrpc.c --- Diff:
https://github.com/kamailio/kamailio/commit/d11016326effb138372ac3ba97340a1…
Patch:
https://github.com/kamailio/kamailio/commit/d11016326effb138372ac3ba97340a1…
--- diff --git a/src/modules/xmlrpc/xmlrpc.c b/src/modules/xmlrpc/xmlrpc.c index 347af5658da..a2db03420e1 100644 --- a/src/modules/xmlrpc/xmlrpc.c +++ b/src/modules/xmlrpc/xmlrpc.c @@ -408,41 +408,44 @@ static regex_t xmlrpc_url_skip_regexp; static str xmlrpc_event_callback = STR_NULL; +/* clang-format off */ /* * Exported functions */ static cmd_export_t cmds[] = { - {"dispatch_rpc", w_dispatch_rpc, 0, 0, 0, REQUEST_ROUTE}, - {"xmlrpc_reply", w_xmlrpc_reply, 2, fixup_xmlrpc_reply, 0, - REQUEST_ROUTE}, - {0, 0, 0, 0, 0, 0}}; - + {"dispatch_rpc", w_dispatch_rpc, 0, 0, 0, REQUEST_ROUTE}, + {"xmlrpc_reply", w_xmlrpc_reply, 2, fixup_xmlrpc_reply, 0, REQUEST_ROUTE}, + {0, 0, 0, 0, 0, 0} +}; /* * Exported parameters */ -static param_export_t params[] = {{"route", PARAM_STRING, &xmlrpc_route}, - {"autoconversion", PARAM_INT, &autoconvert}, - {"escape_cr", PARAM_INT, &escape_cr}, - {"double_lf_to_crlf", PARAM_INT, &lflf2crlf}, - {"mode", PARAM_INT, &xmlrpc_mode}, - {"url_match", PARAM_STRING, &xmlrpc_url_match}, - {"url_skip", PARAM_STRING, &xmlrpc_url_skip}, - {"event_callback", PARAM_STR, &xmlrpc_event_callback}, {0, 0, 0}}; - +static param_export_t params[] = { + {"route", PARAM_STRING, &xmlrpc_route}, + {"autoconversion", PARAM_INT, &autoconvert}, + {"escape_cr", PARAM_INT, &escape_cr}, + {"double_lf_to_crlf", PARAM_INT, &lflf2crlf}, + {"mode", PARAM_INT, &xmlrpc_mode}, + {"url_match", PARAM_STRING, &xmlrpc_url_match}, + {"url_skip", PARAM_STRING, &xmlrpc_url_skip}, + {"event_callback", PARAM_STR, &xmlrpc_event_callback}, + {0, 0, 0} +}; struct module_exports exports = { - "xmlrpc", /* module name */ - DEFAULT_DLFLAGS, /* dlopen flags */ - cmds, /* cmd (cfg function) exports */ - params, /* param exports */ - 0, /* RPC method exports */ - 0, /* pv exports */ - 0, /* response handling function */ - mod_init, /* module init function */ - 0, /* per-child init function */ - 0 /* module destroy function */ + "xmlrpc", /* module name */ + DEFAULT_DLFLAGS, /* dlopen flags */ + cmds, /* cmd (cfg function) exports */ + params, /* param exports */ + 0, /* RPC method exports */ + 0, /* pv exports */ + 0, /* response handling function */ + mod_init, /* module init function */ + 0, /* per-child init function */ + 0 /* module destroy function */ }; +/* clang-format on */ /* XML-RPC reply helper functions */
1
0
0
0
git:master:c34bce14: xmpp: reformat exported structures
by Victor Seva
20 Nov '24
20 Nov '24
Module: kamailio Branch: master Commit: c34bce14a7dfba19bec7e46705eda3cf5f4298dd URL:
https://github.com/kamailio/kamailio/commit/c34bce14a7dfba19bec7e46705eda3c…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org> Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org> Date: 2024-11-20T10:23:17+01:00 xmpp: reformat exported structures --- Modified: src/modules/xmpp/xmpp.c --- Diff:
https://github.com/kamailio/kamailio/commit/c34bce14a7dfba19bec7e46705eda3c…
Patch:
https://github.com/kamailio/kamailio/commit/c34bce14a7dfba19bec7e46705eda3c…
--- diff --git a/src/modules/xmpp/xmpp.c b/src/modules/xmpp/xmpp.c index 3d292e9ea39..92a2ef9c673 100644 --- a/src/modules/xmpp/xmpp.c +++ b/src/modules/xmpp/xmpp.c @@ -160,43 +160,48 @@ param_t *_xmpp_gwmap_list = NULL; #define DEFAULT_COMPONENT_PORT 5347 #define DEFAULT_SERVER_PORT 5269 +/* clang-format off */ /* * Exported functions */ static cmd_export_t cmds[] = { - {"xmpp_send_message", (cmd_function)cmd_send_message, 0, 0, 0, - REQUEST_ROUTE}, - {"bind_xmpp", (cmd_function)bind_xmpp, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0}}; + {"xmpp_send_message", (cmd_function)cmd_send_message, 0, 0, 0, REQUEST_ROUTE}, + {"bind_xmpp", (cmd_function)bind_xmpp, 0, 0, 0, 0}, + {0, 0, 0, 0, 0, 0} +}; /* * Exported parameters */ -static param_export_t params[] = {{"backend", PARAM_STRING, &backend}, - {"domain_separator", PARAM_STRING, &domain_sep_str}, - {"gateway_domain", PARAM_STRING, &gateway_domain}, - {"xmpp_domain", PARAM_STRING, &xmpp_domain}, - {"xmpp_host", PARAM_STRING, &xmpp_host}, - {"xmpp_port", PARAM_INT, &xmpp_port}, - {"xmpp_password", PARAM_STRING, &xmpp_password}, - {"outbound_proxy", PARAM_STR, &outbound_proxy}, - {"gwmap", PARAM_STRING | PARAM_USE_FUNC, (void *)xmpp_gwmap_param}, - {0, 0, 0}}; +static param_export_t params[] = { + {"backend", PARAM_STRING, &backend}, + {"domain_separator", PARAM_STRING, &domain_sep_str}, + {"gateway_domain", PARAM_STRING, &gateway_domain}, + {"xmpp_domain", PARAM_STRING, &xmpp_domain}, + {"xmpp_host", PARAM_STRING, &xmpp_host}, + {"xmpp_port", PARAM_INT, &xmpp_port}, + {"xmpp_password", PARAM_STRING, &xmpp_password}, + {"outbound_proxy", PARAM_STR, &outbound_proxy}, + {"gwmap", PARAM_STRING | PARAM_USE_FUNC, (void *)xmpp_gwmap_param}, + {0, 0, 0} +}; /* * Module description */ struct module_exports exports = { - "xmpp", /* module name */ - DEFAULT_DLFLAGS, /* dlopen flags */ - cmds, /* exported functions */ - params, /* exported parameters */ - 0, /* exported rpc functions */ - 0, /* exported pseudo-variables */ - 0, /* response handling function */ - mod_init, /* module init function */ - child_init, /* child init function */ - 0 /* module destroy function */ + "xmpp", /* module name */ + DEFAULT_DLFLAGS, /* dlopen flags */ + cmds, /* exported functions */ + params, /* exported parameters */ + 0, /* exported rpc functions */ + 0, /* exported pseudo-variables */ + 0, /* response handling function */ + mod_init, /* module init function */ + child_init, /* child init function */ + 0 /* module destroy function */ }; +/* clang-format on */ /* * initialize module
1
0
0
0
← Newer
1
...
23
24
25
26
27
28
29
...
38
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
33
34
35
36
37
38
Results per page:
10
25
50
100
200