Files
mpd/src/event/EpollEvents.hxx
2024-06-25 20:28:34 +02:00

14 lines
334 B
C++

// SPDX-License-Identifier: BSD-2-Clause
#pragma once
#include <sys/epoll.h>
struct EpollEvents {
static constexpr unsigned READ = EPOLLIN;
static constexpr unsigned EXCEPTIONAL = EPOLLPRI;
static constexpr unsigned WRITE = EPOLLOUT;
static constexpr unsigned ERROR = EPOLLERR;
static constexpr unsigned HANGUP = EPOLLHUP;
};