Also added a function called by the three "*_serialize_fields" to reduce code duplication.
The interface is not modified.
#### Type Of Change
- [x] New feature (non-breaking change which adds new functionality)
#### Checklist:
- [x] Tested changes locally
#### Description
Small pull request that adds a function "xavu_serialize_fields" (with same interface as "xavp_serialize_fields" and "xavi_serialize_fields"), and an internal helper function to reduce code duplication.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/2603
-- Commit Summary --
* core: added xavu_serialize_fields function
-- File Changes --
M src/core/xavp.c (91)
M src/core/xavp.h (2)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/2603.patchhttps://github.com/kamailio/kamailio/pull/2603.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2603
Module: kamailio
Branch: master
Commit: 28ff6b5cb50709a92e8849d885dd55e1237f5a9e
URL: https://github.com/kamailio/kamailio/commit/28ff6b5cb50709a92e8849d885dd55e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-01-15T12:48:35+01:00
misc: tools/kemi/lua - fixed field name in python script
---
Modified: misc/tools/kemi/lua/kemiksrlib.py
---
Diff: https://github.com/kamailio/kamailio/commit/28ff6b5cb50709a92e8849d885dd55e…
Patch: https://github.com/kamailio/kamailio/commit/28ff6b5cb50709a92e8849d885dd55e…
---
diff --git a/misc/tools/kemi/lua/kemiksrlib.py b/misc/tools/kemi/lua/kemiksrlib.py
index f801a9d6a2..2a6f360a58 100644
--- a/misc/tools/kemi/lua/kemiksrlib.py
+++ b/misc/tools/kemi/lua/kemiksrlib.py
@@ -8,7 +8,7 @@
class ModuleObjGenerator(object):
# Contains the output until it should be written to disk
- output_string = ""
+ object_string = ""
def execute(self, data):
# Validate that we got some methods back. 155 is an arbitrary large number.
Module: kamailio
Branch: master
Commit: db9f768f1844e3339567522bf5a1b9f2b41b0bb6
URL: https://github.com/kamailio/kamailio/commit/db9f768f1844e3339567522bf5a1b9f…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-01-14T08:27:36+01:00
lib/trie: updated reference to userblocklist module
---
Modified: src/lib/README
Modified: src/lib/trie/dtrie.c
Modified: src/lib/trie/dtrie.h
---
Diff: https://github.com/kamailio/kamailio/commit/db9f768f1844e3339567522bf5a1b9f…
Patch: https://github.com/kamailio/kamailio/commit/db9f768f1844e3339567522bf5a1b9f…
---
diff --git a/src/lib/README b/src/lib/README
index b490787899..9ca4cec11b 100644
--- a/src/lib/README
+++ b/src/lib/README
@@ -2,9 +2,9 @@ Standalone libraries:
---------------------
binrpc - A library that provides common interface for different communication
- methods (UNIX sockets, TCP, UDP) using binary RPC as a transport form
- of data. The interface is documented directly in binrpc_api.h file and
- can by generated into HTML form by using Doxygen. There is no
+ methods (UNIX sockets, TCP, UDP) using binary RPC as a transport form
+ of data. The interface is documented directly in binrpc_api.h file and
+ can by generated into HTML form by using Doxygen. There is no
difference between compilation "with" or "without" SER (see compilation
section below).
@@ -30,7 +30,7 @@ shm_regex - Wrapper functions for regcomp, regexec, regfree and regerror
Used by modules: pa, rls, dialog, rpa
trie - Common digit trie implementation for prefix matching, used by
- carrierroute and userblacklist
+ carrierroute and userblocklist
Used by IMS modules: icscf, usrloc_scscf, usrloc_pcscf, registrar_scscf, registrar_pcscf
diff --git a/src/lib/trie/dtrie.c b/src/lib/trie/dtrie.c
index af2d93f1c4..905ddead20 100644
--- a/src/lib/trie/dtrie.c
+++ b/src/lib/trie/dtrie.c
@@ -27,13 +27,13 @@
* Provides a generic trie datastructure and utility functions to
* initialize and manage individual nodes. Its optimized towards
* the usecase of a matching tree that contains only digits, e.g.
- * for LCR or blacklist modules. Nevertheless it also supports the
+ * for LCR or blocklist modules. Nevertheless it also supports the
* matching of characters when configured correctly. For normal
* digit only matching you need to use a branches parameter of
* 10, when you use 128, the complete standard ascii charset is
* available for matching. The trie is setup in shared memory.
* - Module: \ref carrierroute
- * - Module: \ref userblacklist
+ * - Module: \ref userblocklist
* @{
*/
diff --git a/src/lib/trie/dtrie.h b/src/lib/trie/dtrie.h
index fb4388122c..179350176f 100644
--- a/src/lib/trie/dtrie.h
+++ b/src/lib/trie/dtrie.h
@@ -15,8 +15,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
@@ -27,14 +27,14 @@
* Provides a generic trie data structure and utility functions to
* initialize and manage individual nodes. Its optimized towards
* the usecase of a matching tree that contains only digits, e.g.
- * for LCR or blacklist modules. Nevertheless it also supports the
+ * for LCR or blocklist modules. Nevertheless it also supports the
* matching of characters when configured correctly. For normal
* digit only matching you need to use a branches parameter of
* 10, when you use 128, the complete standard ascii charset is
* available for matching. The trie is setup in shared memory.
* - Module: \ref carrierroute
- * - Module: \ref userblacklist
- * @{
+ * - Module: \ref userblocklist
+ * @{
*/
#ifndef _DTRIE_H_