2020-07-17 13:47:25 +00:00
|
|
|
/*
|
|
|
|
* This file is part of uIRCd. (https://git.redxen.eu/caskd/uIRCd)
|
|
|
|
* Copyright (c) 2019, 2020 Alex-David Denes
|
|
|
|
*
|
|
|
|
* uIRCd is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* any later version.
|
|
|
|
*
|
|
|
|
* uIRCd is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
2020-08-17 20:13:17 +00:00
|
|
|
*
|
2020-07-17 13:47:25 +00:00
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with uIRCd. If not, see <https://www.gnu.org/licenses/>.
|
2020-08-01 17:45:14 +00:00
|
|
|
*/
|
2020-07-17 13:47:25 +00:00
|
|
|
|
|
|
|
#include <signal.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
|
2020-12-08 02:16:12 +00:00
|
|
|
#include "configuration.h"
|
|
|
|
#include "connection.h"
|
|
|
|
#include "filesystem.h"
|
|
|
|
#include "logging.h"
|
|
|
|
#include "signal.h"
|
|
|
|
|
|
|
|
#define UIRC_IRCV3
|
|
|
|
#define UIRC_HELPERS
|
|
|
|
#include <uirc/uirc.h>
|
|
|
|
|
|
|
|
#ifndef UIRCD_GUARD_MAIN
|
|
|
|
#define UIRCD_GUARD_MAIN
|
|
|
|
|
|
|
|
#define VERSION "2020.12.7.0-beta"
|
|
|
|
|
|
|
|
#define recvbuf buffers[0]
|
|
|
|
#define sendbuf buffers[1]
|
|
|
|
#define fifobuf buffers[2]
|
2020-10-02 12:38:11 +00:00
|
|
|
|
2020-12-08 02:16:12 +00:00
|
|
|
#endif /* UIRCD_GUARD_MAIN */
|
2020-10-02 12:38:11 +00:00
|
|
|
|