[BACK]Return to conn-ssl.h CVS log [TXT][DIR] Up to [local] / ircnowd / src / ngircd

Annotation of ircnowd/src/ngircd/conn-ssl.h, Revision 1.1.1.1

1.1       tomglok     1: /*
                      2:  * ngIRCd -- The Next Generation IRC Daemon
                      3:  */
                      4:
                      5: #ifndef conn_ssl_h
                      6: #define conn_ssl_h
                      7:
                      8: /**
                      9:  * @file
                     10:  * SSL wrapper functions (header)
                     11:  */
                     12:
                     13: #include "conf-ssl.h"
                     14: #include "conn.h"
                     15: #include "conf.h"
                     16:
                     17: #ifdef SSL_SUPPORT
                     18: GLOBAL void ConnSSL_Free PARAMS(( CONNECTION *c ));
                     19:
                     20: GLOBAL bool ConnSSL_PrepareConnect PARAMS(( CONNECTION *c, CONF_SERVER *s ));
                     21:
                     22: GLOBAL int ConnSSL_Accept PARAMS(( CONNECTION *c ));
                     23: GLOBAL int ConnSSL_Connect PARAMS(( CONNECTION *c ));
                     24:
                     25: GLOBAL ssize_t ConnSSL_Write PARAMS(( CONNECTION *c, const void *buf, size_t count));
                     26: GLOBAL ssize_t ConnSSL_Read PARAMS(( CONNECTION *c, void *buf, size_t count));
                     27:
                     28: GLOBAL bool ConnSSL_GetCipherInfo PARAMS(( CONNECTION *c, char *buf, size_t len ));
                     29: GLOBAL char *ConnSSL_GetCertFp PARAMS(( CONNECTION *c ));
                     30: GLOBAL bool ConnSSL_SetCertFp PARAMS(( CONNECTION *c, const char *fingerprint ));
                     31:
                     32: #endif /* SSL_SUPPORT */
                     33: #endif /* conn_ssl_h */
                     34:
                     35: /* -eof- */

CVSweb