From e57fb8c12ea7de1a5070ea0fc6f14c8e242c409f Mon Sep 17 00:00:00 2001 From: mannol Date: Sat, 17 Jan 2015 18:22:20 +0100 Subject: Progress --- toxav/msi.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'toxav/msi.h') diff --git a/toxav/msi.h b/toxav/msi.h index 660df05e..29d44ccc 100644 --- a/toxav/msi.h +++ b/toxav/msi.h @@ -57,7 +57,7 @@ typedef enum { /** * Encoding settings. */ -typedef struct _MSICodecSettings { +typedef struct { MSICallType call_type; uint32_t video_bitrate; /* In kbits/s */ @@ -100,32 +100,32 @@ typedef enum { /** * The call struct. */ -typedef struct _MSICall { /* Call info structure */ - struct _MSISession *session; /* Session pointer */ +typedef struct { /* Call info structure */ + struct MSISession_s *session; /* Session pointer */ - MSICallState state; + MSICallState state; - MSICSettings csettings_local; /* Local call settings */ - MSICSettings *csettings_peer; /* Peers call settings */ + MSICSettings csettings_local; /* Local call settings */ + MSICSettings *csettings_peer; /* Peers call settings */ - MSICallIDType id; /* Random value identifying the call */ + MSICallIDType id; /* Random value identifying the call */ - int ringing_tout_ms; /* Ringing timeout in ms */ + int ringing_tout_ms; /* Ringing timeout in ms */ - int request_timer_id; /* Timer id for outgoing request/action */ - int ringing_timer_id; /* Timer id for ringing timeout */ + int request_timer_id; /* Timer id for outgoing request/action */ + int ringing_timer_id; /* Timer id for ringing timeout */ - uint32_t *peers; - uint16_t peer_count; + uint32_t *peers; + uint16_t peer_count; - int32_t call_idx; /* Index of this call in MSISession */ + int32_t call_idx; /* Index of this call in MSISession */ } MSICall; /** * Control session struct */ -typedef struct _MSISession { +typedef struct MSISession_s { /* Call handlers */ MSICall **calls; -- cgit v1.2.3