0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-17 23:40:57 +01:00
construct/include/ircd/m/m.h

77 lines
1.4 KiB
C
Raw Normal View History

2018-02-04 03:22:01 +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_H
/// Matrix Protocol System
namespace ircd::m
{
2018-03-28 22:05:15 +02:00
using ircd::hash;
struct init;
2018-08-15 01:47:42 +02:00
IRCD_OVERLOAD(generate)
extern struct log::log log;
}
namespace ircd::m::vm
{
struct opts;
}
#include "name.h"
#include "error.h"
#include "import.h"
2018-08-15 01:47:42 +02:00
#include "self.h"
#include "id.h"
#include "event.h"
#include "dbs.h"
2018-01-29 18:36:05 +01:00
#include "state.h"
#include "vm.h"
#include "room.h"
#include "user.h"
#include "rooms.h"
#include "filter.h"
#include "events.h"
#include "node.h"
#include "login.h"
#include "register.h"
#include "invite_3pid.h"
#include "createroom.h"
#include "request.h"
#include "v1/v1.h"
#include "keys.h"
#include "edu.h"
#include "presence.h"
#include "typing.h"
#include "receipt.h"
#include "txn.h"
2018-02-26 08:24:12 +01:00
#include "hook.h"
#include "visible.h"
struct ircd::m::init
{
struct listeners;
self::init _self;
dbs::init _dbs;
2018-08-15 01:47:42 +02:00
keys::init _keys;
static void bootstrap();
2018-08-15 01:47:42 +02:00
void init_imports();
void close();
public:
2018-08-15 01:47:42 +02:00
init(const string_view &origin);
~init() noexcept;
};