From c80bc292b555c6666930790c399f6fac6226c468 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Sat, 21 Jul 2012 10:11:53 +0000 Subject: Skype and IMO2sProxy added, not adapted yet git-svn-id: http://svn.miranda-ng.org/main/trunk@1091 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/IMO2sProxy/src/imo2skype/callqueue.h | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 plugins/IMO2sProxy/src/imo2skype/callqueue.h (limited to 'plugins/IMO2sProxy/src/imo2skype/callqueue.h') diff --git a/plugins/IMO2sProxy/src/imo2skype/callqueue.h b/plugins/IMO2sProxy/src/imo2skype/callqueue.h new file mode 100644 index 0000000000..0c4fcfd2cf --- /dev/null +++ b/plugins/IMO2sProxy/src/imo2skype/callqueue.h @@ -0,0 +1,32 @@ +#include "cJSON.h" +#include "queue.h" +#include + +#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); -- cgit v1.2.3