From 9467d6819f76193ca4d096889a3ccc32063d528b Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Tue, 29 Aug 2017 13:35:11 +0200 Subject: [PATCH] feat(c-types): add conference event interface --- src/c-wrapper/c-types.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/c-wrapper/c-types.h b/src/c-wrapper/c-types.h index 901a0d4c5..a8dfd78f7 100644 --- a/src/c-wrapper/c-types.h +++ b/src/c-wrapper/c-types.h @@ -30,6 +30,7 @@ extern "C" { #endif +L_DECLARE_C_STRUCT(ConferenceEvent); L_DECLARE_C_STRUCT(ConferenceParticipantEvent); L_DECLARE_C_STRUCT(EventLog); L_DECLARE_C_STRUCT(Message); @@ -38,6 +39,17 @@ L_DECLARE_C_STRUCT(MessageEvent); // TODO: Remove me in the future. typedef struct SalAddress LinphoneAddress; +// ----------------------------------------------------------------------------- +// Conference Event. +// ----------------------------------------------------------------------------- + +LINPHONE_PUBLIC LinphoneConferenceEvent *conference_event_new ( + LinphoneEventLogType type, + const LinphoneAddress *address +); + +LINPHONE_PUBLIC const LinphoneAddress *conference_event_get_address (); + // ----------------------------------------------------------------------------- // Conference Participant Event. // -----------------------------------------------------------------------------