From 89c5b2369413025e1fe7dfe5c5d0bf3bedd8558d Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Mon, 23 Jul 2012 13:52:57 +0000 Subject: git-svn-id: http://svn.miranda-ng.org/main/trunk@1123 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- !NotAdopted/IMO2sProxy/src/imolib/io_layer.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 !NotAdopted/IMO2sProxy/src/imolib/io_layer.h (limited to '!NotAdopted/IMO2sProxy/src/imolib/io_layer.h') diff --git a/!NotAdopted/IMO2sProxy/src/imolib/io_layer.h b/!NotAdopted/IMO2sProxy/src/imolib/io_layer.h new file mode 100644 index 0000000000..13e10cf888 --- /dev/null +++ b/!NotAdopted/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 -- cgit v1.2.3