summaryrefslogtreecommitdiff
path: root/lib/auth_anon.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2004-06-13 21:32:00 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2004-06-13 21:32:00 +0000
commit933c12dd1b0b7af1e6b0d9de9a5037d0990d2be0 (patch)
tree353eda85d53bbac1a632cc59004bd86674818adf /lib/auth_anon.c
parent906958f81d6057f2bbc0bb628c9b6425f45a4779 (diff)
downloadgnutls-933c12dd1b0b7af1e6b0d9de9a5037d0990d2be0.tar.gz
Added the '_t' suffix to all exported symbols.
Diffstat (limited to 'lib/auth_anon.c')
-rw-r--r--lib/auth_anon.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/auth_anon.c b/lib/auth_anon.c
index 6d2feecd5b..efddc5c773 100644
--- a/lib/auth_anon.c
+++ b/lib/auth_anon.c
@@ -38,9 +38,9 @@
#include <gnutls_state.h>
#include <auth_dh_common.h>
-static int gen_anon_server_kx(gnutls_session, opaque **);
-static int proc_anon_client_kx(gnutls_session, opaque *, size_t);
-static int proc_anon_server_kx(gnutls_session, opaque *, size_t);
+static int gen_anon_server_kx(gnutls_session_t, opaque **);
+static int proc_anon_client_kx(gnutls_session_t, opaque *, size_t);
+static int proc_anon_server_kx(gnutls_session_t, opaque *, size_t);
const mod_auth_st anon_auth_struct = {
"ANON",
@@ -59,13 +59,13 @@ const mod_auth_st anon_auth_struct = {
NULL
};
-static int gen_anon_server_kx(gnutls_session session, opaque ** data)
+static int gen_anon_server_kx(gnutls_session_t session, opaque ** data)
{
mpi_t g, p;
const mpi_t *mpis;
int ret;
- gnutls_dh_params dh_params;
- const gnutls_anon_server_credentials cred;
+ gnutls_dh_params_t dh_params;
+ const gnutls_anon_server_credentials_t cred;
cred = _gnutls_get_cred(session->key, GNUTLS_CRD_ANON, NULL);
if (cred == NULL) {
@@ -101,14 +101,14 @@ static int gen_anon_server_kx(gnutls_session session, opaque ** data)
}
-static int proc_anon_client_kx(gnutls_session session, opaque * data,
+static int proc_anon_client_kx(gnutls_session_t session, opaque * data,
size_t _data_size)
{
- const gnutls_anon_server_credentials cred;
+ const gnutls_anon_server_credentials_t cred;
int bits;
int ret;
mpi_t p, g;
- gnutls_dh_params dh_params;
+ gnutls_dh_params_t dh_params;
const mpi_t *mpis;
bits = _gnutls_dh_get_allowed_prime_bits(session);
@@ -136,7 +136,7 @@ static int proc_anon_client_kx(gnutls_session session, opaque * data,
}
-int proc_anon_server_kx(gnutls_session session, opaque * data,
+int proc_anon_server_kx(gnutls_session_t session, opaque * data,
size_t _data_size)
{