Module: kamailio
Branch: master
Commit: 2880cd627802920b20514a62fc90ff450a5c6b30
URL:
https://github.com/kamailio/kamailio/commit/2880cd627802920b20514a62fc90ff4…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-07-13T10:18:49+02:00
core: srapi - cseq update field update to be a function
---
Modified: srapi.h
---
Diff:
https://github.com/kamailio/kamailio/commit/2880cd627802920b20514a62fc90ff4…
Patch:
https://github.com/kamailio/kamailio/commit/2880cd627802920b20514a62fc90ff4…
---
diff --git a/srapi.h b/srapi.h
index d45fe35..d480fbf 100644
--- a/srapi.h
+++ b/srapi.h
@@ -20,6 +20,7 @@
#define __SRAPI_H__
#include "str.h"
+#include "parser/msg_parser.h"
typedef void (*sr_generate_callid_f)(str*);
@@ -27,8 +28,9 @@ int sr_register_callid_func(sr_generate_callid_f f);
sr_generate_callid_f sr_get_callid_func(void);
+typedef int (*sr_cseq_update_f)(sip_msg_t*);
typedef struct sr_cfgenv {
- int cseq_update;
+ sr_cseq_update_f cb_cseq_update;
} sr_cfgenv_t;
void sr_cfgenv_init(void);