mirror of
https://github.com/matrix-construct/construct
synced 2024-11-25 08:12:37 +01:00
ircd:Ⓜ️:feds: Give the op enum more prominence.
This commit is contained in:
parent
2238bf1df3
commit
6da9219039
1 changed files with 15 additions and 14 deletions
|
@ -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,
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue