summaryrefslogtreecommitdiff
path: root/lib/gnutls_auth.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2004-06-07 10:05:43 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2004-06-07 10:05:43 +0000
commit802e1ede038010ddab31225f4b8a7e8d74f3b987 (patch)
treef9f07d2fb57da9843ac6b79e06e9266301b7e8b7 /lib/gnutls_auth.h
parente0781d87ea58ff1ac1b6439d60510a8a26ea9f54 (diff)
downloadgnutls-802e1ede038010ddab31225f4b8a7e8d74f3b987.tar.gz
changed indentation to 4 spaces instead of tabs.
Diffstat (limited to 'lib/gnutls_auth.h')
-rw-r--r--lib/gnutls_auth.h33
1 files changed, 19 insertions, 14 deletions
diff --git a/lib/gnutls_auth.h b/lib/gnutls_auth.h
index 23cb6d742e..1012ad0b0d 100644
--- a/lib/gnutls_auth.h
+++ b/lib/gnutls_auth.h
@@ -2,20 +2,25 @@
# define GNUTLS_AUTH_H
typedef struct mod_auth_st_int {
- const char* name; /* null terminated */
- int (*gnutls_generate_server_certificate)( gnutls_session, opaque**);
- int (*gnutls_generate_client_certificate)( gnutls_session, opaque**);
- int (*gnutls_generate_server_kx)( gnutls_session, opaque**);
- int (*gnutls_generate_client_kx)( gnutls_session, opaque**); /* used in SRP */
- int (*gnutls_generate_client_cert_vrfy) ( gnutls_session, opaque**);
- int (*gnutls_generate_server_certificate_request) ( gnutls_session, opaque**);
-
- int (*gnutls_process_server_certificate)( gnutls_session, opaque*, size_t);
- int (*gnutls_process_client_certificate)( gnutls_session, opaque*, size_t);
- int (*gnutls_process_server_kx)( gnutls_session, opaque*, size_t);
- int (*gnutls_process_client_kx)( gnutls_session, opaque*, size_t);
- int (*gnutls_process_client_cert_vrfy) ( gnutls_session, opaque*, size_t);
- int (*gnutls_process_server_certificate_request) ( gnutls_session, opaque*, size_t);
+ const char *name; /* null terminated */
+ int (*gnutls_generate_server_certificate) (gnutls_session, opaque **);
+ int (*gnutls_generate_client_certificate) (gnutls_session, opaque **);
+ int (*gnutls_generate_server_kx) (gnutls_session, opaque **);
+ int (*gnutls_generate_client_kx) (gnutls_session, opaque **); /* used in SRP */
+ int (*gnutls_generate_client_cert_vrfy) (gnutls_session, opaque **);
+ int (*gnutls_generate_server_certificate_request) (gnutls_session,
+ opaque **);
+
+ int (*gnutls_process_server_certificate) (gnutls_session, opaque *,
+ size_t);
+ int (*gnutls_process_client_certificate) (gnutls_session, opaque *,
+ size_t);
+ int (*gnutls_process_server_kx) (gnutls_session, opaque *, size_t);
+ int (*gnutls_process_client_kx) (gnutls_session, opaque *, size_t);
+ int (*gnutls_process_client_cert_vrfy) (gnutls_session, opaque *,
+ size_t);
+ int (*gnutls_process_server_certificate_request) (gnutls_session,
+ opaque *, size_t);
} mod_auth_st;
#endif