From 3e2bff296f5d26e30d3f0b67317fb8d741762657 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 9 Feb 2023 15:55:21 +0100 Subject: [PATCH] event/SocketEvent: add method GetReadyFlags() --- src/event/SocketEvent.hxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/event/SocketEvent.hxx b/src/event/SocketEvent.hxx index 10bec11cc..1f5684103 100644 --- a/src/event/SocketEvent.hxx +++ b/src/event/SocketEvent.hxx @@ -110,6 +110,10 @@ public: return scheduled_flags; } + unsigned GetReadyFlags() const noexcept { + return ready_flags; + } + void SetReadyFlags(unsigned flags) noexcept { ready_flags = flags; }