From 89c5b2369413025e1fe7dfe5c5d0bf3bedd8558d Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Mon, 23 Jul 2012 13:52:57 +0000 Subject: git-svn-id: http://svn.miranda-ng.org/main/trunk@1123 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- !NotAdopted/IMO2sProxy/src/imolib/imo_skype.h | 37 +++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 !NotAdopted/IMO2sProxy/src/imolib/imo_skype.h (limited to '!NotAdopted/IMO2sProxy/src/imolib/imo_skype.h') diff --git a/!NotAdopted/IMO2sProxy/src/imolib/imo_skype.h b/!NotAdopted/IMO2sProxy/src/imolib/imo_skype.h new file mode 100644 index 0000000000..d9e1697ed6 --- /dev/null +++ b/!NotAdopted/IMO2sProxy/src/imolib/imo_skype.h @@ -0,0 +1,37 @@ +#include "cJSON.h" + +struct _tagIMOSKYPE; +typedef struct _tagIMOSKYPE IMOSKYPE; +// 0 - Message received, you may delete the cJSON object now +// 1 - Don't delete cJSON object, callback will take care of freeing +typedef int(*IMOSTATCB)(cJSON *pMsg, void *pUser); + +IMOSKYPE *ImoSkype_Init(IMOSTATCB StatusCb, void *pUser); +void ImoSkype_Exit(IMOSKYPE *hSkype); +void ImoSkype_CancelPolling(IMOSKYPE *hSkype); +char *ImoSkype_GetLastError(IMOSKYPE *hSkype); +char *ImoSkype_GetUserHandle(IMOSKYPE *hSkype); + +int ImoSkype_Login(IMOSKYPE *hSkype, char *pszUser, char *pszPass); +int ImoSkype_Logout(IMOSKYPE *hSkype); +int ImoSkype_Poll(IMOSKYPE *hSkype); +int ImoSkype_Typing(IMOSKYPE *hSkype, char *pszBuddy, char *pszStatus); +int ImoSkype_SetStatus(IMOSKYPE *hSkype, char *pszStatus, char *pszStatusMsg); +int ImoSkype_SendMessage(IMOSKYPE *hSkype, char *pszBuddy, char *pszMessage, int *prequest_id); +int ImoSkype_AddBuddy(IMOSKYPE *hSkype, char *pszBuddy); +int ImoSkype_DelBuddy(IMOSKYPE *hSkype, char *pszBuddy, char *pszGroup); +int ImoSkype_BlockBuddy(IMOSKYPE *hSkype, char *pszBuddy); +int ImoSkype_UnblockBuddy(IMOSKYPE *hSkype, char *pszBuddy); +int ImoSkype_ChangeAlias(IMOSKYPE *hSkype, char *pszBuddy, char *pszNewAlias); +int ImoSkype_StartVoiceCall(IMOSKYPE *hSkype, char *pszBuddy); +int ImoSkype_KeepAlive(IMOSKYPE *hSkype); +int ImoSkype_Ping(IMOSKYPE *hSkype); +char *ImoSkype_GetAvatar(IMOSKYPE *hSkype, char *pszID, unsigned int *pdwLength); +int ImoSkype_GetUnreadMsgs(IMOSKYPE *hSkype); +int ImoSkype_GetAlpha(IMOSKYPE *hSkype); + +int ImoSkype_CreateSharedGroup(IMOSKYPE *hSkype, char *pszName); +int ImoSkype_GroupInvite(IMOSKYPE *hSkype, char *pszGroup, char *pszUser); +int ImoSkype_GroupKick(IMOSKYPE *hSkype, char *pszGroup, char *pszUser); +int ImoSkype_GroupTopic(IMOSKYPE *hSkype, char *pszGroup, char *pszTopic); +int ImoSkype_GroupLeave(IMOSKYPE *hSkype, char *pszGroup); -- cgit v1.2.3