소스 검색

core: parser - added vdata void* field inside msg_ldata_t structure

- useful to link to custom local data on message processing
Daniel-Constantin Mierla 5 년 전
부모
커밋
5cb28a47ca
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/core/parser/msg_parser.h

+ 1 - 0
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 */