Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
a0f5602b
Commit
a0f5602b
authored
Aug 29, 2017
by
Ronan
Browse files
feat(c-types): add call event interface
parent
9467d681
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
src/c-wrapper/c-types.h
src/c-wrapper/c-types.h
+10
-0
No files found.
src/c-wrapper/c-types.h
View file @
a0f5602b
...
...
@@ -19,6 +19,7 @@
#ifndef _C_TYPES_H_
#define _C_TYPES_H_
// Do not move these defines.
#define L_DECLARE_ENUM(CLASS, ENUM) enum Linphone ## CLASS ## ENUM
#define L_DECLARE_C_STRUCT(STRUCT) typedef struct _Linphone ## STRUCT Linphone ## STRUCT;
...
...
@@ -30,6 +31,8 @@
extern
"C"
{
#endif
L_DECLARE_C_STRUCT
(
Call
);
L_DECLARE_C_STRUCT
(
CallEvent
);
L_DECLARE_C_STRUCT
(
ConferenceEvent
);
L_DECLARE_C_STRUCT
(
ConferenceParticipantEvent
);
L_DECLARE_C_STRUCT
(
EventLog
);
...
...
@@ -39,6 +42,13 @@ L_DECLARE_C_STRUCT(MessageEvent);
// TODO: Remove me in the future.
typedef
struct
SalAddress
LinphoneAddress
;
// -----------------------------------------------------------------------------
// Call Event.
// -----------------------------------------------------------------------------
LINPHONE_PUBLIC
LinphoneCallEvent
*
call_event_new
(
LinphoneEventLogType
type
,
LinphoneCall
*
call
);
LINPHONE_PUBLIC
LinphoneCall
*
call_event_get_call
(
const
LinphoneCallEvent
*
call_event
);
// -----------------------------------------------------------------------------
// Conference Event.
// -----------------------------------------------------------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment