Kaydet (Commit) 14a7ac20 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

SOCKET_USE_AUTODIAL is dead code

...ever since 010f7113 "INTEGRATION: CWS sal01:
#105958# Remove usage of wininet.dll autodial functions" wrapped its central
code in

  #ifdef SOCKET_USE_AUTODIAL

instead of removing it properly.

Change-Id: I4c077c71ce8eda3a3f8b83286178d0d7907a6e02
Reviewed-on: https://gerrit.libreoffice.org/29742Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst a9afa89e
This diff is collapsed.
...@@ -47,37 +47,6 @@ struct oslSocketAddrImpl ...@@ -47,37 +47,6 @@ struct oslSocketAddrImpl
oslSocket osl_createSocketImpl_(SOCKET Socket); oslSocket osl_createSocketImpl_(SOCKET Socket);
void osl_destroySocketImpl_(oslSocket pImpl); void osl_destroySocketImpl_(oslSocket pImpl);
/*****************************************************************************/
/* oslSocketDialupImpl */
/*****************************************************************************/
#define INTERNET_MODULE_NAME "wininet.dll"
#define INTERNET_CONNECTION_HANGUP 0x80000000L
typedef DWORD (WINAPI *INTERNETATTEMPTCONNECT) (
DWORD dwReserved);
typedef BOOL (WINAPI *INTERNETAUTODIAL) (
DWORD dwFlags, DWORD dwReserved);
typedef BOOL (WINAPI *INTERNETAUTODIALHANGUP) (
DWORD dwReserved);
typedef BOOL (WINAPI *INTERNETGETCONNECTEDSTATE) (
LPDWORD lpdwFlags, DWORD dwReserved);
typedef struct osl_socket_dialup_impl_st
{
CRITICAL_SECTION m_hMutex;
HINSTANCE m_hModule;
INTERNETATTEMPTCONNECT m_pfnAttemptConnect;
INTERNETAUTODIAL m_pfnAutodial;
INTERNETAUTODIALHANGUP m_pfnAutodialHangup;
INTERNETGETCONNECTEDSTATE m_pfnGetConnectedState;
DWORD m_dwFlags;
} oslSocketDialupImpl;
/*****************************************************************************/
/* The End */
/*****************************************************************************/
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment