diff options
Diffstat (limited to 'plugins/!NotAdopted/IMO2sProxy/src/imolib/imo_skype.h')
-rw-r--r-- | plugins/!NotAdopted/IMO2sProxy/src/imolib/imo_skype.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/plugins/!NotAdopted/IMO2sProxy/src/imolib/imo_skype.h b/plugins/!NotAdopted/IMO2sProxy/src/imolib/imo_skype.h new file mode 100644 index 0000000000..d9e1697ed6 --- /dev/null +++ b/plugins/!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);
|