Module: kamailio
Branch: master
Commit: 5cb28a47cade4b3d20e37ed38c74e575f7343386
URL:
https://github.com/kamailio/kamailio/commit/5cb28a47cade4b3d20e37ed38c74e57…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-05-27T09:20:05+02:00
core: parser - added vdata void* field inside msg_ldata_t structure
- useful to link to custom local data on message processing
---
Modified: src/core/parser/msg_parser.h
---
Diff:
https://github.com/kamailio/kamailio/commit/5cb28a47cade4b3d20e37ed38c74e57…
Patch:
https://github.com/kamailio/kamailio/commit/5cb28a47cade4b3d20e37ed38c74e57…
---
diff --git a/src/core/parser/msg_parser.h b/src/core/parser/msg_parser.h
index 973b5702b4..aa35fa5185 100644
--- a/src/core/parser/msg_parser.h
+++ b/src/core/parser/msg_parser.h
@@ -268,6 +268,7 @@ typedef struct ocd_flow {
* - add to msg_ldata_reset() if a field uses dynamic memory */
typedef struct msg_ldata {
ocd_flow_t flow;
+ void *vdata;
} msg_ldata_t;
/*! \brief The SIP message */