summaryrefslogtreecommitdiff
path: root/include/osl/socket.h
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-07-27 15:00:46 +0200
committerStephan Bergmann <sbergman@redhat.com>2021-07-27 19:26:24 +0200
commitdb392a8a255326b7a094daeabd7fba195db6a9a5 (patch)
treee941ca76d92f8affe7e75e202037fc74357b7188 /include/osl/socket.h
parent89e3cf8f67d04fc8beff571aec8da130eccd7689 (diff)
[API CHANGE] Drop obsolete osl_demultiplexSocketEvents et al
...which were deprecated in 0a126b4c661d65860fd2de92f8cc49bdb65a957c "Deprecate osl_demultiplexSocketEvents et al" towards LO 7.2 (and leave aborting stubs in place for backwards compatibility) Change-Id: Ice6032eb2f351af87dd56eecb002aa2a91e79373 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119560 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/osl/socket.h')
-rw-r--r--include/osl/socket.h80
1 files changed, 0 insertions, 80 deletions
diff --git a/include/osl/socket.h b/include/osl/socket.h
index 8e2a0066d17e..7f87da312d4e 100644
--- a/include/osl/socket.h
+++ b/include/osl/socket.h
@@ -610,86 +610,6 @@ SAL_DLLPUBLIC void SAL_CALL osl_getLastSocketErrorDescription(
SAL_DLLPUBLIC oslSocketError SAL_CALL osl_getLastSocketError(
oslSocket Socket);
-/** Type for the representation of socket sets.
-
- @deprecated
-*/
-typedef struct oslSocketSetImpl * oslSocketSet;
-
-/** Creates a set of sockets to be used with osl_demultiplexSocketEvents().
-
- @return A oslSocketSet or 0 if creation failed.
-
- @deprecated
-*/
-SAL_DLLPUBLIC oslSocketSet SAL_CALL osl_createSocketSet(void);
-
-/** Destroys an oslSocketSet.
-
- @deprecated
-*/
-SAL_DLLPUBLIC void SAL_CALL osl_destroySocketSet(oslSocketSet Set);
-
-/** Clears the set from all previously added sockets.
-
- @param Set the set to be cleared.
-
- @deprecated
-*/
-SAL_DLLPUBLIC void SAL_CALL osl_clearSocketSet(oslSocketSet Set);
-
-
-/** Adds a socket to the set.
-
- @param Set the set were the socket is added.
- @param Socket the socket to be added.
-
- @deprecated
-*/
-SAL_DLLPUBLIC void SAL_CALL osl_addToSocketSet(oslSocketSet Set, oslSocket Socket);
-
-/** Removes a socket from the set.
-
- @param Set the set were the socket is removed from.
- @param Socket the socket to be removed.
-
- @deprecated
-*/
-SAL_DLLPUBLIC void SAL_CALL osl_removeFromSocketSet(oslSocketSet Set, oslSocket Socket);
-
-/** Checks if socket is in the set.
-
- @param Set the set to be checked.
- @param Socket check if this socket is in the set.
-
- @retval sal_True if socket is in the set.
-
- @deprecated
-*/
-SAL_DLLPUBLIC sal_Bool SAL_CALL osl_isInSocketSet(oslSocketSet Set, oslSocket Socket);
-
-/** Checks multiple sockets for events.
-
- @param IncomingSet Checks the sockets in this set for incoming events (read, accept). If the set is 0,
- it is just skipped.
- @param OutgoingSet Checks the sockets in this set for outgoing events (write, connect). If the set is 0,
- it is just skipped.
- @param OutOfBandSet Checks the sockets in this set for out-of-band events. If the set is 0, it is just
- skipped.
- @param pTimeout Address of the number of milliseconds to wait for events. If *pTimeout is -1, the call
- will block until an event or an error occurs.
-
- @return -1 on errors, otherwise the number of sockets with pending events. In case of timeout, the
- number might be 0.
-
- @deprecated
-*/
-SAL_DLLPUBLIC sal_Int32 SAL_CALL osl_demultiplexSocketEvents(
- oslSocketSet IncomingSet,
- oslSocketSet OutgoingSet,
- oslSocketSet OutOfBandSet,
- const TimeValue* pTimeout);
-
/** Closes the socket terminating any ongoing dataflow.
@param[in] Socket The socket to close.