Much more changes to remove compilation warnings
This commit is contained in:
parent
18f4cc5a2c
commit
433a202989
3 changed files with 5863 additions and 3 deletions
40
include/sslproc.h
Normal file
40
include/sslproc.h
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
/*
|
||||||
|
* sslproc.h: An interface to the ratbox ssld helper daemon
|
||||||
|
* Copyright (C) 2007 Aaron Sethman <androsyn@ratbox.org>
|
||||||
|
* Copyright (C) 2007 ircd-ratbox development team
|
||||||
|
*
|
||||||
|
* This program 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 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program 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.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
|
||||||
|
* USA
|
||||||
|
*
|
||||||
|
* $Id: sslproc.h 25179 2008-03-30 16:34:57Z androsyn $
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef INCLUDED_sslproc_h
|
||||||
|
#define INCLUDED_sslproc_h
|
||||||
|
|
||||||
|
struct _ssl_ctl;
|
||||||
|
typedef struct _ssl_ctl ssl_ctl_t;
|
||||||
|
|
||||||
|
void init_ssld(void);
|
||||||
|
int start_ssldaemon(int count, const char *ssl_cert, const char *ssl_private_key, const char *ssl_dh_params);
|
||||||
|
ssl_ctl_t *start_ssld_accept(rb_fde_t *sslF, rb_fde_t *plainF, int id);
|
||||||
|
ssl_ctl_t *start_ssld_connect(rb_fde_t *sslF, rb_fde_t *plainF, int id);
|
||||||
|
void start_zlib_session(void *data);
|
||||||
|
void send_new_ssl_certs(const char *ssl_cert, const char *ssl_private_key, const char *ssl_dh_params);
|
||||||
|
void ssld_decrement_clicount(ssl_ctl_t *ctl);
|
||||||
|
int get_ssld_count(void);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -25,11 +25,9 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "stdinc.h"
|
#include "stdinc.h"
|
||||||
#include "struct.h"
|
|
||||||
#include "ratbox_lib.h"
|
#include "ratbox_lib.h"
|
||||||
#include "listener.h"
|
#include "listener.h"
|
||||||
#include "client.h"
|
#include "client.h"
|
||||||
#include "match.h"
|
|
||||||
#include "ircd.h"
|
#include "ircd.h"
|
||||||
#include "numeric.h"
|
#include "numeric.h"
|
||||||
#include "s_conf.h"
|
#include "s_conf.h"
|
||||||
|
@ -39,7 +37,6 @@
|
||||||
#include "s_auth.h"
|
#include "s_auth.h"
|
||||||
#include "reject.h"
|
#include "reject.h"
|
||||||
#include "s_log.h"
|
#include "s_log.h"
|
||||||
#include "sslproc.h"
|
|
||||||
#include "hash.h"
|
#include "hash.h"
|
||||||
|
|
||||||
static rb_dlink_list listener_list;
|
static rb_dlink_list listener_list;
|
||||||
|
|
Loading…
Reference in a new issue