summaryrefslogtreecommitdiff
path: root/lib/auth_srp.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2001-07-31 19:12:08 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2001-07-31 19:12:08 +0000
commitdd2b711e9797c1183884b678527911532bdbfc09 (patch)
tree9a9722d0ab5f059f78dba716d901b8c1ca4cc5bd /lib/auth_srp.h
parentd7c809f11eff0ea1ea07e159cb49b72e1192e6b7 (diff)
downloadgnutls-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.h8
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 {