diff options
Diffstat (limited to 'toxav/msi.h')
-rw-r--r-- | toxav/msi.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/toxav/msi.h b/toxav/msi.h index 042f3f0f..0020df4c 100644 --- a/toxav/msi.h +++ b/toxav/msi.h | |||
@@ -17,8 +17,6 @@ | |||
17 | * You should have received a copy of the GNU General Public License | 17 | * You should have received a copy of the GNU General Public License |
18 | * along with Tox. If not, see <http://www.gnu.org/licenses/>. | 18 | * along with Tox. If not, see <http://www.gnu.org/licenses/>. |
19 | * | 19 | * |
20 | * | ||
21 | * Report bugs/suggestions at #tox-dev @ freenode.net:6667 | ||
22 | */ | 20 | */ |
23 | 21 | ||
24 | #ifndef __TOXMSI | 22 | #ifndef __TOXMSI |
@@ -52,7 +50,8 @@ typedef enum { | |||
52 | call_inviting, /* when sending call invite */ | 50 | call_inviting, /* when sending call invite */ |
53 | call_starting, /* when getting call invite */ | 51 | call_starting, /* when getting call invite */ |
54 | call_active, | 52 | call_active, |
55 | call_hold | 53 | call_hold, |
54 | call_hanged_up | ||
56 | 55 | ||
57 | } MSICallState; | 56 | } MSICallState; |
58 | 57 | ||
@@ -72,12 +71,6 @@ typedef struct _MSICall { /* Call info structure */ | |||
72 | 71 | ||
73 | uint8_t id[CALL_ID_LEN]; /* Random value identifying the call */ | 72 | uint8_t id[CALL_ID_LEN]; /* Random value identifying the call */ |
74 | 73 | ||
75 | uint8_t *key_local; /* The key for encryption */ | ||
76 | uint8_t *key_peer; /* The key for decryption */ | ||
77 | |||
78 | uint8_t *nonce_local; /* Local nonce */ | ||
79 | uint8_t *nonce_peer; /* Peer nonce */ | ||
80 | |||
81 | int ringing_tout_ms; /* Ringing timeout in ms */ | 74 | int ringing_tout_ms; /* Ringing timeout in ms */ |
82 | 75 | ||
83 | int request_timer_id; /* Timer id for outgoing request/action */ | 76 | int request_timer_id; /* Timer id for outgoing request/action */ |
@@ -112,6 +105,8 @@ typedef struct _MSISession { | |||
112 | uint32_t call_timeout; /* Time of the timeout for some action to end; 0 if infinite */ | 105 | uint32_t call_timeout; /* Time of the timeout for some action to end; 0 if infinite */ |
113 | 106 | ||
114 | pthread_mutex_t mutex; | 107 | pthread_mutex_t mutex; |
108 | |||
109 | void *timer_handler; | ||
115 | } MSISession; | 110 | } MSISession; |
116 | 111 | ||
117 | 112 | ||