diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2001-08-05 20:40:11 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2001-08-05 20:40:11 +0000 |
commit | 8fa8ed88631f45c133308f6db731520830713fb9 (patch) | |
tree | 14420c4d1933724c25ed2ef815d7b7d71c2521f2 /lib/gnutls_auth.h | |
parent | 93330469787a8b39a6f8c82f65305c7625487806 (diff) | |
download | gnutls-8fa8ed88631f45c133308f6db731520830713fb9.tar.gz |
several cleanups and updates in the handshake protocol implementation
iolaiiiiiCVS: ----------------------------------------------------------------------
Diffstat (limited to 'lib/gnutls_auth.h')
-rw-r--r-- | lib/gnutls_auth.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/lib/gnutls_auth.h b/lib/gnutls_auth.h index bffd973ff5..8017c50eb8 100644 --- a/lib/gnutls_auth.h +++ b/lib/gnutls_auth.h @@ -1,23 +1,23 @@ #ifndef GNUTLS_AUTH_H - #define GNUTLS_AUTH_H -typedef struct { +# define GNUTLS_AUTH_H + +typedef struct MOD_AUTH_STRUCT_INT { char* name; /* null terminated */ - int (*gnutls_generate_certificate)( GNUTLS_KEY, opaque**); - int (*gnutls_generate_server_kx)( GNUTLS_KEY, opaque**); - int (*gnutls_generate_server_kx2)( GNUTLS_KEY, opaque**); /* used in SRP */ - int (*gnutls_generate_client_kx0)( GNUTLS_KEY, opaque**); - int (*gnutls_generate_client_kx)( GNUTLS_KEY, opaque**); /* used in SRP */ - int (*gnutls_generate_client_cert_vrfy) ( GNUTLS_KEY, opaque**); - int (*gnutls_generate_server_cert_vrfy) ( GNUTLS_KEY, opaque**); + int (*gnutls_generate_certificate)( GNUTLS_STATE, opaque**); + int (*gnutls_generate_server_kx)( GNUTLS_STATE, opaque**); + int (*gnutls_generate_server_kx2)( GNUTLS_STATE, opaque**); /* used in SRP */ + int (*gnutls_generate_client_kx0)( GNUTLS_STATE, opaque**); + int (*gnutls_generate_client_kx)( GNUTLS_STATE, opaque**); /* used in SRP */ + int (*gnutls_generate_client_cert_vrfy) ( GNUTLS_STATE, opaque**); + int (*gnutls_generate_server_certificate_request) ( GNUTLS_STATE, opaque**); - int (*gnutls_process_certificate)( GNUTLS_KEY, opaque*, int); - int (*gnutls_process_server_kx)( GNUTLS_KEY, opaque*, int); - int (*gnutls_process_server_kx2)( GNUTLS_KEY, opaque*, int); - int (*gnutls_process_client_kx0)( GNUTLS_KEY, opaque*, int); - int (*gnutls_process_client_kx)( GNUTLS_KEY, opaque*, int); - int (*gnutls_process_client_cert_vrfy) ( GNUTLS_KEY, opaque*, int); - int (*gnutls_process_server_cert_vrfy) ( GNUTLS_KEY, opaque*, int); + int (*gnutls_process_certificate)( GNUTLS_STATE, opaque*, int); + int (*gnutls_process_server_kx)( GNUTLS_STATE, opaque*, int); + int (*gnutls_process_server_kx2)( GNUTLS_STATE, opaque*, int); + int (*gnutls_process_client_kx0)( GNUTLS_STATE, opaque*, int); + int (*gnutls_process_client_kx)( GNUTLS_STATE, opaque*, int); + int (*gnutls_process_client_cert_vrfy) ( GNUTLS_STATE, opaque*, int); + int (*gnutls_process_server_certificate_request) ( GNUTLS_STATE, opaque*, int); } MOD_AUTH_STRUCT; - #endif |