summaryrefslogtreecommitdiff
path: root/plugins/IMO2sProxy/src/imo2skype/imo2skypeapi.h
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-07-21 10:11:53 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-07-21 10:11:53 +0000
commitc80bc292b555c6666930790c399f6fac6226c468 (patch)
tree83a5cf2be27d2751f668ab1ef1ec051b8053d3df /plugins/IMO2sProxy/src/imo2skype/imo2skypeapi.h
parentc11a4fe35d96f7f118a7286292bc33971180972b (diff)
Skype and IMO2sProxy added, not adapted yet
git-svn-id: http://svn.miranda-ng.org/main/trunk@1091 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/IMO2sProxy/src/imo2skype/imo2skypeapi.h')
-rw-r--r--plugins/IMO2sProxy/src/imo2skype/imo2skypeapi.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/plugins/IMO2sProxy/src/imo2skype/imo2skypeapi.h b/plugins/IMO2sProxy/src/imo2skype/imo2skypeapi.h
new file mode 100644
index 0000000000..fa68dd3899
--- /dev/null
+++ b/plugins/IMO2sProxy/src/imo2skype/imo2skypeapi.h
@@ -0,0 +1,13 @@
+typedef void(*IMO2SCB)(char *pszMsg, void *pUser);
+struct _tagIMOSAPI;
+typedef struct _tagIMOSAPI IMOSAPI;
+
+#define IMO2S_FLAG_CURRTIMESTAMP 1 // Use current timestamp on MSG receive
+#define IMO2S_FLAG_ALLOWINTERACT 2 // Allow GUI interaction (CALL)
+
+IMOSAPI *Imo2S_Init(IMO2SCB Callback, void *pUser, int iFlags);
+void Imo2S_Exit (IMOSAPI *pInst);
+void Imo2S_SetLog (IMOSAPI *pInst, FILE *fpLog);
+int Imo2S_Login (IMOSAPI *pInst, char *pszUser, char *pszPass, char **ppszError);
+void Imo2S_Logout(IMOSAPI *pInst);
+int Imo2S_Send (IMOSAPI *pInst, char *pszMsg);