#ifndef GNUTLS_AUTH_H # define GNUTLS_AUTH_H typedef struct mod_auth_st_int { const char *name; /* null terminated */ int (*gnutls_generate_server_certificate) (gnutls_session_t, opaque **); int (*gnutls_generate_client_certificate) (gnutls_session_t, opaque **); int (*gnutls_generate_server_kx) (gnutls_session_t, opaque **); int (*gnutls_generate_client_kx) (gnutls_session_t, opaque **); /* used in SRP */ int (*gnutls_generate_client_cert_vrfy) (gnutls_session_t, opaque **); int (*gnutls_generate_server_certificate_request) (gnutls_session_t, opaque **); int (*gnutls_process_server_certificate) (gnutls_session_t, opaque *, size_t); int (*gnutls_process_client_certificate) (gnutls_session_t, opaque *, size_t); int (*gnutls_process_server_kx) (gnutls_session_t, opaque *, size_t); int (*gnutls_process_client_kx) (gnutls_session_t, opaque *, size_t); int (*gnutls_process_client_cert_vrfy) (gnutls_session_t, opaque *, size_t); int (*gnutls_process_server_certificate_request) (gnutls_session_t, opaque *, size_t); } mod_auth_st; #endif