diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-06-20 10:48:24 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-06-20 10:48:24 +0000 |
commit | dc5db1caccc4d8d6a18f7a0aa86b5dc8405b74f8 (patch) | |
tree | 50268943d9ad95f801a9536ec80a7e49e8c2ced9 /plugins/!NotAdopted/IMO2sProxy2/src/imo2skype/imo2sproxy.h | |
parent | 802b7df7fb68ccad66eb9b069521a8369eebe6dc (diff) |
test
git-svn-id: http://svn.miranda-ng.org/main/trunk@5061 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/!NotAdopted/IMO2sProxy2/src/imo2skype/imo2sproxy.h')
-rw-r--r-- | plugins/!NotAdopted/IMO2sProxy2/src/imo2skype/imo2sproxy.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/plugins/!NotAdopted/IMO2sProxy2/src/imo2skype/imo2sproxy.h b/plugins/!NotAdopted/IMO2sProxy2/src/imo2skype/imo2sproxy.h new file mode 100644 index 0000000000..dbdbbf1cf7 --- /dev/null +++ b/plugins/!NotAdopted/IMO2sProxy2/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);
|