mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
These defines are already public, used by consumers of SetNotifyFd(), but also needed in places where os.h cannot be included. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
16 lines
461 B
C
16 lines
461 B
C
/* SPDX-License-Identifier: MIT OR X11
|
|
*
|
|
* Copyright © 2024 Enrico Weigelt, metux IT consult <info@metux.net>
|
|
*
|
|
* @brief: defines needed for SetNotifyFd() as well as ospoll
|
|
*/
|
|
#ifndef _XSERVER_INCLUDE_FDNOTIFY_H
|
|
#define _XSERVER_INCLUDE_FDNOTIFY_H
|
|
|
|
#define X_NOTIFY_NONE 0x0
|
|
#define X_NOTIFY_READ 0x1
|
|
#define X_NOTIFY_WRITE 0x2
|
|
#define X_NOTIFY_ERROR 0x4 /* don't need to select for, always reported */
|
|
|
|
#endif /* _XSERVER_INCLUDE_FDNOTIFY_H */
|