diff options
author | mannol <eniz_vukovic@hotmail.com> | 2015-01-17 18:22:20 +0100 |
---|---|---|
committer | mannol <eniz_vukovic@hotmail.com> | 2015-01-17 18:22:20 +0100 |
commit | e57fb8c12ea7de1a5070ea0fc6f14c8e242c409f (patch) | |
tree | 2c96eafaecfd717d606ccafca69a8e956e8dda0a /toxav/msi.h | |
parent | 3b991212b7fdc6a4c9a656109dd43a9909cd11c2 (diff) |
Progress
Diffstat (limited to 'toxav/msi.h')
-rw-r--r-- | toxav/msi.h | 28 |
1 files changed, 14 insertions, 14 deletions
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 { | |||
57 | /** | 57 | /** |
58 | * Encoding settings. | 58 | * Encoding settings. |
59 | */ | 59 | */ |
60 | typedef struct _MSICodecSettings { | 60 | typedef struct { |
61 | MSICallType call_type; | 61 | MSICallType call_type; |
62 | 62 | ||
63 | uint32_t video_bitrate; /* In kbits/s */ | 63 | uint32_t video_bitrate; /* In kbits/s */ |
@@ -100,32 +100,32 @@ typedef enum { | |||
100 | /** | 100 | /** |
101 | * The call struct. | 101 | * The call struct. |
102 | */ | 102 | */ |
103 | typedef struct _MSICall { /* Call info structure */ | 103 | typedef struct { /* Call info structure */ |
104 | struct _MSISession *session; /* Session pointer */ | 104 | struct MSISession_s *session; /* Session pointer */ |
105 | 105 | ||
106 | MSICallState state; | 106 | MSICallState state; |
107 | 107 | ||
108 | MSICSettings csettings_local; /* Local call settings */ | 108 | MSICSettings csettings_local; /* Local call settings */ |
109 | MSICSettings *csettings_peer; /* Peers call settings */ | 109 | MSICSettings *csettings_peer; /* Peers call settings */ |
110 | 110 | ||
111 | MSICallIDType id; /* Random value identifying the call */ | 111 | MSICallIDType id; /* Random value identifying the call */ |
112 | 112 | ||
113 | int ringing_tout_ms; /* Ringing timeout in ms */ | 113 | int ringing_tout_ms; /* Ringing timeout in ms */ |
114 | 114 | ||
115 | int request_timer_id; /* Timer id for outgoing request/action */ | 115 | int request_timer_id; /* Timer id for outgoing request/action */ |
116 | int ringing_timer_id; /* Timer id for ringing timeout */ | 116 | int ringing_timer_id; /* Timer id for ringing timeout */ |
117 | 117 | ||
118 | uint32_t *peers; | 118 | uint32_t *peers; |
119 | uint16_t peer_count; | 119 | uint16_t peer_count; |
120 | 120 | ||
121 | int32_t call_idx; /* Index of this call in MSISession */ | 121 | int32_t call_idx; /* Index of this call in MSISession */ |
122 | } MSICall; | 122 | } MSICall; |
123 | 123 | ||
124 | 124 | ||
125 | /** | 125 | /** |
126 | * Control session struct | 126 | * Control session struct |
127 | */ | 127 | */ |
128 | typedef struct _MSISession { | 128 | typedef struct MSISession_s { |
129 | 129 | ||
130 | /* Call handlers */ | 130 | /* Call handlers */ |
131 | MSICall **calls; | 131 | MSICall **calls; |