2019-01-15 21:49:53 +01:00
|
|
|
// Matrix Construct
|
|
|
|
//
|
|
|
|
// Copyright (C) Matrix Construct Developers, Authors & Contributors
|
|
|
|
// Copyright (C) 2016-2018 Jason Volk <jason@zemos.net>
|
|
|
|
//
|
|
|
|
// Permission to use, copy, modify, and/or distribute this software for any
|
|
|
|
// purpose with or without fee is hereby granted, provided that the above
|
|
|
|
// copyright notice and this permission notice is present in all copies. The
|
|
|
|
// full license for this software is available in the LICENSE file.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
#define HAVE_IRCD_M_EVENT_CACHED_H
|
|
|
|
|
|
|
|
namespace ircd::m
|
|
|
|
{
|
2019-02-12 23:29:57 +01:00
|
|
|
event::keys::selection cached_keys(const event::idx &, const event::fetch::opts &);
|
|
|
|
|
2019-01-15 21:49:53 +01:00
|
|
|
bool cached(const event::idx &, const event::fetch::opts &);
|
|
|
|
bool cached(const event::idx &);
|
|
|
|
|
|
|
|
bool cached(const event::id &, const event::fetch::opts &);
|
|
|
|
bool cached(const event::id &);
|
|
|
|
}
|