summaryrefslogtreecommitdiff
path: root/plugins/!NotAdopted/IMO2sProxy2/src/imolib/io_layer.h
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2013-06-20 10:48:24 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2013-06-20 10:48:24 +0000
commitdc5db1caccc4d8d6a18f7a0aa86b5dc8405b74f8 (patch)
tree50268943d9ad95f801a9536ec80a7e49e8c2ced9 /plugins/!NotAdopted/IMO2sProxy2/src/imolib/io_layer.h
parent802b7df7fb68ccad66eb9b069521a8369eebe6dc (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/imolib/io_layer.h')
-rw-r--r--plugins/!NotAdopted/IMO2sProxy2/src/imolib/io_layer.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/plugins/!NotAdopted/IMO2sProxy2/src/imolib/io_layer.h b/plugins/!NotAdopted/IMO2sProxy2/src/imolib/io_layer.h
new file mode 100644
index 0000000000..13e10cf888
--- /dev/null
+++ b/plugins/!NotAdopted/IMO2sProxy2/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