]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - libratbox/include/commio-ssl.h
Removal of ancient SVN ID's part one
[irc/rqf/shadowircd.git] / libratbox / include / commio-ssl.h
index 107f2f0b0599799593451c80a38a18cdec345126..e314776371b28457d6017cf976c3a28c4b460c7b 100644 (file)
@@ -1,3 +1,30 @@
+/*
+ *  ircd-ratbox: A slightly useful ircd.
+ *  commio-ssl.h: A header for the ssl code
+ *
+ *  Copyright (C) 2008 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: commio-ssl.h 26280 2008-12-10 20:25:29Z androsyn $
+ */
+
+#ifndef _COMMIO_SSL_H
+#define _COMMIO_SSL_H
+
 int rb_setup_ssl_server(const char *cert, const char *keyfile, const char *dhfile);
 int rb_init_ssl(void);
 
@@ -14,3 +41,6 @@ void rb_ssl_accept_setup(rb_fde_t *F, rb_fde_t *new_F, struct sockaddr *st, int
 void rb_ssl_shutdown(rb_fde_t *F);
 ssize_t rb_ssl_read(rb_fde_t *F, void *buf, size_t count);
 ssize_t rb_ssl_write(rb_fde_t *F, const void *buf, size_t count);
+void rb_get_ssl_info(char *buf, size_t length);
+
+#endif