From: Nikos Date: Thu, 21 Feb 2008 17:30:46 +0000 (+0200) Subject: _export_ -> _get_ X-Git-Tag: gnutls_2_3_3~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afd16be72f56438e89e6529512ce26d01f3c47ca;p=thirdparty%2Fgnutls.git _export_ -> _get_ --- diff --git a/lib/gnutls_cert.c b/lib/gnutls_cert.c index a4f7f45615..17c47840a5 100644 --- a/lib/gnutls_cert.c +++ b/lib/gnutls_cert.c @@ -115,17 +115,17 @@ gnutls_certificate_free_cas (gnutls_certificate_credentials_t sc) } /** - * gnutls_certificate_export_x509_cas - Used to export all the CAs from a gnutls_certificate_credentials_t structure + * gnutls_certificate_get_x509_cas - Used to export all the CAs from a gnutls_certificate_credentials_t structure * @sc: is an #gnutls_certificate_credentials_t structure. - * @x509_ca_list: the exported CA list. Should be treated as constant - * @ncas: the number of exported CAs + * @x509_ca_list: will point to the CA list. Should be treated as constant + * @ncas: the number of CAs * * This function will export all the CAs associated * with the given credentials. * **/ void -gnutls_certificate_export_x509_cas (gnutls_certificate_credentials_t sc, +gnutls_certificate_get_x509_cas (gnutls_certificate_credentials_t sc, gnutls_x509_crt_t **x509_ca_list, unsigned int* ncas) { *x509_ca_list = sc->x509_ca_list; @@ -133,16 +133,17 @@ gnutls_certificate_export_x509_cas (gnutls_certificate_credentials_t sc, } /** - * gnutls_certificate_export_x509_crls - Used to export all the CRLs from a gnutls_certificate_credentials_t structure + * gnutls_certificate_get_x509_crls - Used to export all the CRLs from a gnutls_certificate_credentials_t structure * @sc: is an #gnutls_certificate_credentials_t structure. - * @ring: the exported keyring. Should be treated as constant + * @x509_crl_list: the exported CRL list. Should be treated as constant + * @ncrls: the number of exported CRLs * * This function will export the OpenPGP keyring associated * with the given credentials. * **/ void -gnutls_certificate_export_x509_crls (gnutls_certificate_credentials_t sc, +gnutls_certificate_get_x509_crls (gnutls_certificate_credentials_t sc, gnutls_x509_crl_t **x509_crl_list, unsigned int* ncrls) { *x509_crl_list = sc->x509_crl_list; @@ -152,17 +153,16 @@ gnutls_certificate_export_x509_crls (gnutls_certificate_credentials_t sc, #ifdef ENABLE_OPENPGP /** - * gnutls_certificate_export_openpgp_keyring - Used to export the keyring from a gnutls_certificate_credentials_t structure + * gnutls_certificate_get_openpgp_keyring - Used to export the keyring from a gnutls_certificate_credentials_t structure * @sc: is an #gnutls_certificate_credentials_t structure. - * @x509_crl_list: the exported CRL list. Should be treated as constant - * @ncrls: the number of exported CRLs + * @ring: the exported keyring. Should be treated as constant * * This function will export all the CRLs associated * with the given credentials. * **/ void -gnutls_certificate_export_openpgp_keyring (gnutls_certificate_credentials_t sc, +gnutls_certificate_get_openpgp_keyring (gnutls_certificate_credentials_t sc, gnutls_openpgp_keyring_t *keyring) { *keyring = sc->keyring;