]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
_export_ -> _get_
authorNikos <nmav@crystal.(none)>
Thu, 21 Feb 2008 17:30:46 +0000 (19:30 +0200)
committerNikos <nmav@crystal.(none)>
Thu, 21 Feb 2008 17:30:46 +0000 (19:30 +0200)
lib/gnutls_cert.c

index a4f7f4561536fcfd534ba61a74234c48c8392df3..17c47840a589a66e8f97c105e47c6474a017bbcc 100644 (file)
@@ -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;