summaryrefslogtreecommitdiff
path: root/imo2sproxy/src/imolib/io_layer.h
diff options
context:
space:
mode:
authorwatcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-11-17 18:46:23 +0000
committerwatcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-11-17 18:46:23 +0000
commitb880db8491271b4bd4aa87c2dd79b5e3c3dde6cf (patch)
treeb4e7c071826a2c1cc45bd0b253a76764e5194c4e /imo2sproxy/src/imolib/io_layer.h
parent2f10a9e6cc4782d61f0f15bbff36209af922bd34 (diff)
added: ieview, imo2sproxy, skype
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@175 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'imo2sproxy/src/imolib/io_layer.h')
-rw-r--r--imo2sproxy/src/imolib/io_layer.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/imo2sproxy/src/imolib/io_layer.h b/imo2sproxy/src/imolib/io_layer.h
new file mode 100644
index 0000000..13e10cf
--- /dev/null
+++ b/imo2sproxy/src/imolib/io_layer.h
@@ -0,0 +1,25 @@
+#ifndef _IOLAYER_H_
+#define _IOLAYER_H_
+
+struct _tagIOLAYER;
+typedef struct _tagIOLAYER IOLAYER;
+
+struct _tagIOLAYER
+{
+ void (*Exit) (IOLAYER *hIO);
+
+ char *(*Post) (IOLAYER *hIO, char *pszURL, char *pszPostFields, unsigned int cbPostFields, unsigned int *pdwLength);
+ char *(*Get) (IOLAYER *hIO, char *pszURL, unsigned int *pdwLength);
+ void (*Cancel) (IOLAYER *hIO);
+ char *(*GetLastError) (IOLAYER *hIO);
+ char *(*EscapeString) (IOLAYER *hIO, char *pszData);
+ void (*FreeEscapeString) (char *pszData);
+};
+
+#ifdef WIN32
+IOLAYER *IoLayerW32_Init(void);
+IOLAYER *IoLayerNETLIB_Init(void);
+#endif
+IOLAYER *IoLayerCURL_Init(void);
+
+#endif