From b880db8491271b4bd4aa87c2dd79b5e3c3dde6cf Mon Sep 17 00:00:00 2001 From: watcherhd Date: Thu, 17 Nov 2011 18:46:23 +0000 Subject: added: ieview, imo2sproxy, skype git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@175 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb --- imo2sproxy/src/imo2skype/msgqueue.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 imo2sproxy/src/imo2skype/msgqueue.h (limited to 'imo2sproxy/src/imo2skype/msgqueue.h') diff --git a/imo2sproxy/src/imo2skype/msgqueue.h b/imo2sproxy/src/imo2skype/msgqueue.h new file mode 100644 index 0000000..4e4cbba --- /dev/null +++ b/imo2sproxy/src/imo2skype/msgqueue.h @@ -0,0 +1,23 @@ +#include "cJSON.h" +#include "queue.h" +#include + +typedef struct +{ + QUEUEHDR hdr; + char *pszUser; + char *pszAlias; + char *pszMessage; + time_t timestamp; + char szStatus[16]; + char szFailure[256]; +} MSGENTRY; + +TYP_LIST *MsgQueue_Init(void); +void MsgQueue_Exit(TYP_LIST *hList); + +MSGENTRY *MsgQueue_Insert(TYP_LIST *hList, cJSON *pNick); +MSGENTRY *MsgQueue_AddReflect(TYP_LIST *hList, cJSON *pNick, TYP_LIST *hBuddyList); +MSGENTRY *MsgQueue_AddSent(TYP_LIST *hList, char *pszUser, char *pszAlias, char *pszMessage, unsigned int *puMsgId); +BOOL MsgQueue_Remove(TYP_LIST *hList, unsigned int uMsgNr); +MSGENTRY *MsgQueue_Find(TYP_LIST *hList, unsigned int uMsgNr); -- cgit v1.2.3