2018-12-03 01:50:26 +01:00
|
|
|
// Matrix Construct
|
|
|
|
//
|
|
|
|
// Copyright (C) Matrix Construct Developers, Authors & Contributors
|
2019-03-15 21:20:05 +01:00
|
|
|
// Copyright (C) 2016-2019 Jason Volk <jason@zemos.net>
|
2018-12-03 01:50:26 +01:00
|
|
|
//
|
|
|
|
// 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.
|
|
|
|
|
2019-03-15 23:31:55 +01:00
|
|
|
namespace ircd::m::app::ns
|
|
|
|
{
|
|
|
|
extern std::set<std::string> users;
|
|
|
|
extern std::set<std::string> aliases;
|
|
|
|
extern std::set<std::string> rooms;
|
|
|
|
}
|
|
|
|
|
2019-03-15 21:20:05 +01:00
|
|
|
// app.cc
|
|
|
|
namespace ircd::m::app
|
2018-12-03 01:50:26 +01:00
|
|
|
{
|
2019-03-15 23:31:55 +01:00
|
|
|
void init_app(const string_view &id, const json::object &config);
|
|
|
|
void init_apps();
|
2019-03-15 21:20:05 +01:00
|
|
|
void init();
|
|
|
|
void fini();
|
|
|
|
|
|
|
|
extern const m::room::id::buf app_room_id;
|
|
|
|
}
|