0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-02 10:08:56 +02:00

ircd:Ⓜ️:feds: Give the op enum more prominence.

This commit is contained in:
Jason Volk 2019-09-13 23:14:57 -07:00
parent 2238bf1df3
commit 6da9219039

View file

@ -50,6 +50,21 @@ struct ircd::m::feds::execute
execute(const opts &, const closure &);
};
/// Supported operations.
enum class ircd::m::feds::op
:uint8_t
{
noop,
head,
auth,
event,
state,
backfill,
version,
keys,
send,
};
/// Result structure created internally when a result arrives and passed to
/// the user's closure. The structure is merely an alternative to specifying
/// a lot of arguments to the closure.
@ -127,17 +142,3 @@ struct ircd::m::feds::opts
/// typical use case.
bool exclude_myself {false};
};
enum class ircd::m::feds::op
:uint8_t
{
noop,
head,
auth ,
event,
state,
backfill,
version,
keys,
send,
};