0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-05 13:28:54 +01:00

ircd:Ⓜ️:event::fetch: Minor cleanup.

This commit is contained in:
Jason Volk 2020-01-10 13:26:31 -08:00
parent e76035cc28
commit 5993c6cdf4

View file

@ -11,6 +11,15 @@
#pragma once
#define HAVE_IRCD_M_EVENT_FETCH_H
namespace ircd::m
{
bool seek(event::fetch &, const event::idx &, const event::id &, std::nothrow_t);
bool seek(event::fetch &, const event::idx &, std::nothrow_t);
void seek(event::fetch &, const event::idx &);
bool seek(event::fetch &, const event::id &, std::nothrow_t);
void seek(event::fetch &, const event::id &);
}
/// Event Fetcher (local).
///
/// Fetches event data from the local database and populates an m::event which
@ -61,15 +70,6 @@ struct ircd::m::event::fetch
fetch(const opts & = default_opts);
};
namespace ircd::m
{
bool seek(event::fetch &, const event::idx &, const event::id &, std::nothrow_t);
bool seek(event::fetch &, const event::idx &, std::nothrow_t);
void seek(event::fetch &, const event::idx &);
bool seek(event::fetch &, const event::id &, std::nothrow_t);
void seek(event::fetch &, const event::id &);
}
/// Event Fetch Options.
///
/// Refer to the individual member documentations for details. Notes: