summaryrefslogtreecommitdiff
path: root/include/delphi/m_netlib.inc
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-01-04 13:38:02 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-01-04 13:38:02 +0300
commit94667140aeb3886d22e4c1301423fe99aaf3fba4 (patch)
tree88bc46dfa6a3dba117905f7994b5e5f6ae09fa2a /include/delphi/m_netlib.inc
parente63471b9885d040b9e6db3255432f6cea36144e9 (diff)
Netlib: pascal code is completely isolated from C++ core using helpers
Diffstat (limited to 'include/delphi/m_netlib.inc')
-rw-r--r--include/delphi/m_netlib.inc8
1 files changed, 6 insertions, 2 deletions
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