From 94667140aeb3886d22e4c1301423fe99aaf3fba4 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 4 Jan 2024 13:38:02 +0300 Subject: Netlib: pascal code is completely isolated from C++ core using helpers --- include/delphi/m_netlib.inc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'include/delphi') diff --git a/include/delphi/m_netlib.inc b/include/delphi/m_netlib.inc index 253c836a4d..d5c553817e 100644 --- a/include/delphi/m_netlib.inc +++ b/include/delphi/m_netlib.inc @@ -200,7 +200,7 @@ function Netlib_CloseHandle(pHandle:THANDLE) : int; stdcall; external AppDll; } -function Netlib_FreeHttpRequest(param:PNETLIBHTTPREQUEST) : bytebool; stdcall; external AppDll; +function Netlib_FreeHttpRequest(param:THANDLE) : bytebool; stdcall; external AppDll; { wParam : HANDLE @@ -239,7 +239,11 @@ function Netlib_FreeHttpRequest(param:PNETLIBHTTPREQUEST) : bytebool; stdcall; e Errors returned by the aforementioned internally used functions } -function Netlib_HttpTransaction(nlu:THANDLE; param:PNETLIBHTTPREQUEST) : PNETLIBHTTPREQUEST; stdcall; external AppDll; +function Netlib_HttpTransaction(nlu:THANDLE; param:PNETLIBHTTPREQUEST) : THANDLE; stdcall; external AppDll; + +function Netlib_HttpResult(http:THANDLE) : int; stdcall; external AppDll; +function Netlib_HttpBuffer(http:THANDLE; var cbLen:int) : PAnsiChar; stdcall; external AppDll; +function Netlib_HttpCookies(http:THANDLE) : PAnsiChar; stdcall; external AppDll; { Affect : Send data over an open connection see notes -- cgit v1.2.3