mirror of
https://github.com/matrix-construct/construct
synced 2024-12-11 08:02:59 +01:00
df11d9bec6
ircd:Ⓜ️:room::bootstrap: Improve interface / various.
24 lines
880 B
C
24 lines
880 B
C
// Matrix Construct
|
|
//
|
|
// Copyright (C) Matrix Construct Developers, Authors & Contributors
|
|
// Copyright (C) 2016-2019 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_ROOM_BOOTSTRAP_H
|
|
|
|
struct ircd::m::room::bootstrap
|
|
{
|
|
// restrap: synchronous; send_join
|
|
bootstrap(const event &, const string_view &host);
|
|
|
|
// restrap: asynchronous; launch ctx; send_join
|
|
bootstrap(const event::id &, const string_view &host);
|
|
|
|
// synchronous make_join, eval; asynchronous send_join
|
|
bootstrap(event::id::buf &, const room::id &, const m::id::user &, const string_view &host);
|
|
};
|