Files
xserver/os/ossock.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
491 B
C
Raw Normal View History

/* SPDX-License-Identifier: MIT OR X11
*
* Copyright © 2024 Enrico Weigelt, metux IT consult <info@metux.net>
*/
#ifndef _XSERVER_OS_OSSOCK_H_
#define _XSERVER_OS_OSSOCK_H_
#include <errno.h>
/*
* 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);
#endif /* _XSERVER_OS_OSSOCK_H_ */