diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2002-09-03 15:22:50 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2002-09-03 15:22:50 +0000 |
commit | ab11b0690d6b169f990bc4fd3a190ff6303e2958 (patch) | |
tree | 233700e90d680fed759cb06429c45049bcf0df07 /lib/gnutls_anon_cred.c | |
parent | 8d03a6c316e7c46b48e5f1daed07cf89d26395e8 (diff) | |
download | gnutls-ab11b0690d6b169f990bc4fd3a190ff6303e2958.tar.gz |
*** empty log message ***
Diffstat (limited to 'lib/gnutls_anon_cred.c')
-rw-r--r-- | lib/gnutls_anon_cred.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/gnutls_anon_cred.c b/lib/gnutls_anon_cred.c index 39ce5dede1..761ea78677 100644 --- a/lib/gnutls_anon_cred.c +++ b/lib/gnutls_anon_cred.c @@ -33,27 +33,27 @@ static int anon_tmp; /** - * gnutls_anon_free_server_credentials - Used to free an allocated GNUTLS_ANON_SERVER_CREDENTIALS structure - * @sc: is an &GNUTLS_ANON_SERVER_CREDENTIALS structure. + * gnutls_anon_free_server_credentials - Used to free an allocated gnutls_anon_server_credentials structure + * @sc: is an &gnutls_anon_server_credentials structure. * * This structure is complex enough to manipulate directly thus * this helper function is provided in order to free (deallocate) * the structure. **/ -void gnutls_anon_free_server_credentials( GNUTLS_ANON_SERVER_CREDENTIALS sc) { +void gnutls_anon_free_server_credentials( gnutls_anon_server_credentials sc) { gnutls_free( sc); } /** - * gnutls_anon_allocate_server_credentials - Used to allocate an GNUTLS_ANON_SERVER CREDENTIALS structure - * @sc: is a pointer to an &GNUTLS_ANON_SERVER_CREDENTIALS structure. + * gnutls_anon_allocate_server_credentials - Used to allocate an gnutls_anon_server_credentials structure + * @sc: is a pointer to an &gnutls_anon_server_credentials structure. * * This structure is complex enough to manipulate directly thus * this helper function is provided in order to allocate * the structure. **/ -int gnutls_anon_allocate_server_credentials( GNUTLS_ANON_SERVER_CREDENTIALS *sc) { +int gnutls_anon_allocate_server_credentials( gnutls_anon_server_credentials *sc) { *sc = gnutls_calloc( 1, sizeof(ANON_SERVER_CREDENTIALS_INT)); (*sc)->dh_params = &_gnutls_dh_default_params; @@ -63,26 +63,26 @@ int gnutls_anon_allocate_server_credentials( GNUTLS_ANON_SERVER_CREDENTIALS *sc) /** - * gnutls_anon_free_client_credentials - Used to free an allocated GNUTLS_ANON_CLIENT_CREDENTIALS structure - * @sc: is an &GNUTLS_ANON_CLIENT_CREDENTIALS structure. + * gnutls_anon_free_client_credentials - Used to free an allocated gnutls_anon_client_credentials structure + * @sc: is an &gnutls_anon_client_credentials structure. * * This structure is complex enough to manipulate directly thus * this helper function is provided in order to free (deallocate) * the structure. **/ -void gnutls_anon_free_client_credentials( GNUTLS_ANON_CLIENT_CREDENTIALS sc) { +void gnutls_anon_free_client_credentials( gnutls_anon_client_credentials sc) { return; } /** * gnutls_allocate_anon_client_credentials - Used to allocate an GNUTLS_ANON_CLIENT CREDENTIALS structure - * @sc: is a pointer to an &GNUTLS_ANON_CLIENT_CREDENTIALS structure. + * @sc: is a pointer to an &gnutls_anon_client_credentials structure. * * This structure is complex enough to manipulate directly thus * this helper function is provided in order to allocate * the structure. **/ -int gnutls_anon_allocate_client_credentials( GNUTLS_ANON_CLIENT_CREDENTIALS *sc) +int gnutls_anon_allocate_client_credentials( gnutls_anon_client_credentials *sc) { /* anon_tmp is only there for *sc not to be null. * it is not used at all; |