Module: kamailio
Branch: master
Commit: 9cfe2119306ea70875d448beebbdb9fede0b32af
URL:
https://github.com/kamailio/kamailio/commit/9cfe2119306ea70875d448beebbdb9f…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-08-26T13:39:27+02:00
sdpops: fixed the api definitions after new params by commit 5fffc9bd84ea
---
Modified: modules/sdpops/api.h
---
Diff:
https://github.com/kamailio/kamailio/commit/9cfe2119306ea70875d448beebbdb9f…
Patch:
https://github.com/kamailio/kamailio/commit/9cfe2119306ea70875d448beebbdb9f…
---
diff --git a/modules/sdpops/api.h b/modules/sdpops/api.h
index 0528d3f..eba0c65 100644
--- a/modules/sdpops/api.h
+++ b/modules/sdpops/api.h
@@ -28,6 +28,7 @@ typedef int (*sdp_with_transport_t)(struct sip_msg*, str*, int);
typedef int (*sdp_with_ice_t)(struct sip_msg*);
typedef int (*sdp_keep_media_t)(struct sip_msg*, str*, str*);
typedef int (*sdp_remove_media_t)(struct sip_msg*, str*);
+typedef int (*sdp_remove_media_type_t)(struct sip_msg*, str*, str*);
typedef struct sdpops_binds {
sdp_with_media_t sdp_with_media;
@@ -41,8 +42,8 @@ typedef struct sdpops_binds {
sdp_remove_media_t sdp_remove_media;
sdp_remove_media_t sdp_remove_transport;
sdp_remove_media_t sdp_remove_line_by_prefix;
- sdp_remove_media_t sdp_remove_codecs_by_id;
- sdp_remove_media_t sdp_remove_codecs_by_name;
+ sdp_remove_media_type_t sdp_remove_codecs_by_id;
+ sdp_remove_media_type_t sdp_remove_codecs_by_name;
} sdpops_api_t;
typedef int (*bind_sdpops_f)(sdpops_api_t*);