summaryrefslogtreecommitdiff
path: root/plugins/IMO2sProxy/src/imo2skype/imo2sproxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/IMO2sProxy/src/imo2skype/imo2sproxy.h')
-rw-r--r--plugins/IMO2sProxy/src/imo2skype/imo2sproxy.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/plugins/IMO2sProxy/src/imo2skype/imo2sproxy.h b/plugins/IMO2sProxy/src/imo2skype/imo2sproxy.h
new file mode 100644
index 0000000000..dbdbbf1cf7
--- /dev/null
+++ b/plugins/IMO2sProxy/src/imo2skype/imo2sproxy.h
@@ -0,0 +1,28 @@
+#include <stdio.h>
+#include "imo2skypeapi.h"
+#ifndef WIN32
+#define __cdecl
+#endif
+
+typedef struct
+{
+ int bVerbose;
+ FILE *fpLog;
+ int iFlags;
+ int (__cdecl *logerror)( FILE *stream, const char *format, ...);
+// FIXME: user+pass from cmdline, until there is a possibility for
+// a client to authenticate
+ char *pszUser;
+ char *pszPass;
+} IMO2SPROXY_CFG;
+
+typedef struct tag_imo2sproxy IMO2SPROXY;
+
+struct tag_imo2sproxy
+{
+ int (*Open)(IMO2SPROXY*);
+ void (*Loop)(IMO2SPROXY*);
+ void (*Exit)(IMO2SPROXY*);
+};
+
+void Imo2sproxy_Defaults (IMO2SPROXY_CFG *pCfg);