diff options
Diffstat (limited to 'plugins/IMO2sProxy/src/imo2skype/imo2skypeapi.h')
-rw-r--r-- | plugins/IMO2sProxy/src/imo2skype/imo2skypeapi.h | 13 |
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);
|