summaryrefslogtreecommitdiff
path: root/include/m_netlib.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2025-06-09 15:48:22 +0300
committerGeorge Hazan <george.hazan@gmail.com>2025-06-09 15:48:22 +0300
commita98c272f27a861ff49af6c521b074b5307e8b758 (patch)
tree60702bdb0a8b8d97ba01563cb3f81a24df5009c3 /include/m_netlib.h
parentc1cac0e54f6c6e906cacc4538c79930b7c85669b (diff)
unused function removed
Diffstat (limited to 'include/m_netlib.h')
-rw-r--r--include/m_netlib.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/include/m_netlib.h b/include/m_netlib.h
index 3121ce633e..8ea5ee7b0d 100644
--- a/include/m_netlib.h
+++ b/include/m_netlib.h
@@ -73,26 +73,6 @@ struct NETLIBUSER
EXTERN_C MIR_APP_DLL(HNETLIBUSER) Netlib_RegisterUser(const NETLIBUSER *pDescr);
-/////////////////////////////////////////////////////////////////////////////////////////
-// Assign a Netlib user handle a set of dynamic HTTP headers to be used with all
-//
-// HTTP connections that enable the HTTP-use-sticky headers flag.
-// The headers persist until cleared with lParam = NULL.
-//
-// All memory should be allocated by the caller using malloc() from MS_SYSTEM_GET_MMI
-// Once it has passed to Netlib, Netlib is the owner of it, the caller should not refer to the memory
-// In any way after this point.
-//
-// NOTE: The szHeaders parameter should be a NULL terminated string following the HTTP header syntax.
-// This string will be injected verbatim, thus the user should be aware of setting strings that are not
-// headers. This service is NOT THREAD SAFE, only a single thread is expected to set the headers and a single
-// thread reading the pointer internally, stopping race conditions and mutual exclusion don't happen.
-//
-// Version 0.3.2a+ (2003/10/27)
-//
-
-EXTERN_C MIR_APP_DLL(int) Netlib_SetStickyHeaders(HNETLIBUSER nlu, const char *szHeaders);
-
/* Notes on HTTP gateway usage
When a connection is initiated through an HTTP proxy using
MS_NETLIB_OPENCONNECTION, netlib will GET nlu.szHttpGatewayHello and read