2 * ngIRCd -- The Next Generation IRC Daemon
10 * SSL related definitions
15 #include <openssl/ssl.h>
19 #include <gnutls/gnutls.h>
20 #ifndef LIBGNUTLS_VERSION_MAJOR
21 #define gnutls_certificate_credentials_t gnutls_certificate_credentials
22 #define gnutls_cipher_algorithm_t gnutls_cipher_algorithm
23 #define gnutls_datum_t gnutls_datum
24 #define gnutls_dh_params_t gnutls_dh_params
25 #define gnutls_session_t gnutls_session
26 #define gnutls_transport_ptr_t gnutls_transport_ptr
31 struct ConnSSL_State {
36 gnutls_session_t gnutls_session;
37 void *cookie; /* pointer to server configuration structure
38 (for outgoing connections), or NULL. */
45 GLOBAL bool ConnSSL_InitLibrary PARAMS((void));
47 #endif /* conf_ssl_h */