/* SPDX-License-Identifier: MIT OR X11 * * Copyright © 2024 Enrico Weigelt, metux IT consult */ #ifndef _XSERVER_OS_OSSOCK_H_ #define _XSERVER_OS_OSSOCK_H_ #include /* * os specific initialization of the socket layer */ void ossock_init(void); /* * os specific socket ioctl function */ int ossock_ioctl(int fd, unsigned long request, void *arg); /* * os specific socket close function */ int ossock_close(int fd); /* * os specific check for errno indicating operation would block */ int ossock_wouldblock(int err); #endif /* _XSERVER_OS_OSSOCK_H_ */