]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - libratbox/include/rb_commio.h
Fix a bug I caused. Whoops.
[irc/rqf/shadowircd.git] / libratbox / include / rb_commio.h
index 64aa889f2a96ca9d2787aee6f9d91c225731b13e..9b28c02c834ca3a316c8ca7e05436f9bae0c1578 100644 (file)
@@ -21,7 +21,6 @@
  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301
  *  USA
  *
- *  $Id: rb_commio.h 26092 2008-09-19 15:13:52Z androsyn $
  */
 
 #ifndef RB_LIB_H
@@ -100,6 +99,8 @@ void rb_note(rb_fde_t *, const char *);
 #define RB_SELECT_ACCEPT               RB_SELECT_READ
 #define RB_SELECT_CONNECT              RB_SELECT_WRITE
 
+#define RB_SSL_CERTFP_LEN 20
+
 int rb_set_nb(rb_fde_t *);
 int rb_set_buffers(rb_fde_t *, int);
 
@@ -141,6 +142,7 @@ int rb_select(unsigned long);
 int rb_fd_ssl(rb_fde_t *F);
 int rb_get_fd(rb_fde_t *F);
 const char *rb_get_ssl_strerror(rb_fde_t *F);
+int rb_get_ssl_certfp(rb_fde_t *F, uint8_t certfp[RB_SSL_CERTFP_LEN]);
 
 rb_fde_t *rb_get_fde(int fd);