diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2001-07-31 19:12:08 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2001-07-31 19:12:08 +0000 |
commit | dd2b711e9797c1183884b678527911532bdbfc09 (patch) | |
tree | 9a9722d0ab5f059f78dba716d901b8c1ca4cc5bd /lib/auth_srp.h | |
parent | d7c809f11eff0ea1ea07e159cb49b72e1192e6b7 (diff) | |
download | gnutls-dd2b711e9797c1183884b678527911532bdbfc09.tar.gz |
fixed api documentation (for srp and anon cred allocation)
Diffstat (limited to 'lib/auth_srp.h')
-rw-r--r-- | lib/auth_srp.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/auth_srp.h b/lib/auth_srp.h index 767c98f714..ea7e683fe0 100644 --- a/lib/auth_srp.h +++ b/lib/auth_srp.h @@ -4,12 +4,16 @@ extern MOD_AUTH_STRUCT srp_auth_struct; typedef struct { char* username; char* password; -} SRP_CLIENT_CREDENTIALS; +} SRP_CLIENT_CREDENTIALS_INT; + +#define SRP_CLIENT_CREDENTIALS SRP_CLIENT_CREDENTIALS_INT* typedef struct { char* password_file; char* password_conf_file; -} SRP_SERVER_CREDENTIALS; +} SRP_SERVER_CREDENTIALS_INT; + +#define SRP_SERVER_CREDENTIALS SRP_SERVER_CREDENTIALS_INT* /* these structures should not use allocated data */ typedef struct { |