This repository has been archived on 2021-02-08. You can view files and clone it, but cannot push or open issues or pull requests.
uIRCd/src/main.h

35 lines
1.1 KiB
C
Raw Normal View History

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-07-17 13:47:25 +00:00
#include "filesystem.h"
#include "log.h"
#include "misc.h"
#include "net.h"
#include "structs.h"
2020-08-17 20:13:17 +00:00
#include <fcntl.h>
2020-07-17 13:47:25 +00:00
#include <signal.h>
2020-08-17 20:13:17 +00:00
#include <stdbool.h>
2020-07-17 13:47:25 +00:00
#include <stdio.h>
#include <stdlib.h>
2020-08-17 20:13:17 +00:00
#include <sys/wait.h>
2020-07-17 13:47:25 +00:00
#include <unistd.h>
2020-08-17 20:13:17 +00:00
#define VERSION "indev - testing"
int run_main(Connection* conn, unsigned int recon_inter, char* quitmsg, int timeout);
2020-08-19 13:01:30 +00:00
void print_help(void);