]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Get exported function prototypes from gnutls/x509.h instead.
authorSimon Josefsson <simon@josefsson.org>
Thu, 27 Oct 2005 15:11:20 +0000 (15:11 +0000)
committerSimon Josefsson <simon@josefsson.org>
Thu, 27 Oct 2005 15:11:20 +0000 (15:11 +0000)
lib/x509/crq.h

index b3fad9df7c1df9ab1e540b63fa0d5e3c62d6ccc7..96b215ea9d117fe0090a74bff5785a24af2b8f80 100644 (file)
  *
  */
 
-#ifndef CRQ_H
-# define CRQ_H
+#include <gnutls/x509.h>
 
 typedef struct gnutls_x509_crq_int {
-    ASN1_TYPE crq;
+  ASN1_TYPE crq;
 } gnutls_x509_crq_int;
-
-typedef struct gnutls_x509_crq_int *gnutls_x509_crq_t;
-
-int gnutls_x509_crq_get_dn_by_oid(gnutls_x509_crq_t crq, const char *oid,
-                                 int indx, unsigned int raw_flag,
-                                 void *buf, size_t * sizeof_buf);
-
-int gnutls_x509_crq_init(gnutls_x509_crq_t * crq);
-void gnutls_x509_crq_deinit(gnutls_x509_crq_t crq);
-
-int gnutls_x509_crq_import(gnutls_x509_crq_t crq,
-                          const gnutls_datum_t * data,
-                          gnutls_x509_crt_fmt_t format);
-
-int gnutls_x509_crq_get_pk_algorithm(gnutls_x509_crq_t crq,
-                                    unsigned int *bits);
-
-#endif