diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-06-20 10:48:24 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-06-20 10:48:24 +0000 |
commit | dc5db1caccc4d8d6a18f7a0aa86b5dc8405b74f8 (patch) | |
tree | 50268943d9ad95f801a9536ec80a7e49e8c2ced9 /plugins/!NotAdopted/IMO2sProxy2/src/imo2skype/callqueue.h | |
parent | 802b7df7fb68ccad66eb9b069521a8369eebe6dc (diff) |
test
git-svn-id: http://svn.miranda-ng.org/main/trunk@5061 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/!NotAdopted/IMO2sProxy2/src/imo2skype/callqueue.h')
-rw-r--r-- | plugins/!NotAdopted/IMO2sProxy2/src/imo2skype/callqueue.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/plugins/!NotAdopted/IMO2sProxy2/src/imo2skype/callqueue.h b/plugins/!NotAdopted/IMO2sProxy2/src/imo2skype/callqueue.h new file mode 100644 index 0000000000..0c4fcfd2cf --- /dev/null +++ b/plugins/!NotAdopted/IMO2sProxy2/src/imo2skype/callqueue.h @@ -0,0 +1,32 @@ +#include "cJSON.h"
+#include "queue.h"
+#include <time.h>
+
+#define CALL_INCOMING 0
+#define CALL_OUTGOING 1
+
+typedef struct
+{
+ QUEUEHDR hdr;
+ char *pszUser;
+ char szStatus[16];
+
+ char szSendStream[18];
+ char szRecvStream[18];
+
+ char szConv[18];
+ char szIP[16];
+ int iRole;
+
+ char szCallFile[256];
+ void *hCallWnd;
+ int iDirection;
+ time_t timestamp;
+} CALLENTRY;
+
+TYP_LIST *CallQueue_Init(void);
+void CallQueue_Exit(TYP_LIST *hList);
+
+CALLENTRY *CallQueue_Insert(TYP_LIST *hList, cJSON *pNick, int iDirection);
+BOOL CallQueue_Remove(TYP_LIST *hList, unsigned int uCallNr);
+CALLENTRY *CallQueue_Find(TYP_LIST *hList, unsigned int uCallNr);
|