summaryrefslogtreecommitdiff
path: root/libextra/gnutls_extra.h
diff options
context:
space:
mode:
Diffstat (limited to 'libextra/gnutls_extra.h')
-rw-r--r--libextra/gnutls_extra.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/libextra/gnutls_extra.h b/libextra/gnutls_extra.h
index 40aef209d2..4d6e24479f 100644
--- a/libextra/gnutls_extra.h
+++ b/libextra/gnutls_extra.h
@@ -1,18 +1,18 @@
#include <auth_cert.h>
typedef int (*OPENPGP_VERIFY_KEY_FUNC)( const char *,
- const gnutls_datum *, const gnutls_datum*, int);
-typedef time_t (*OPENPGP_KEY_CREATION_TIME_FUNC)( const gnutls_datum*);
-typedef time_t (*OPENPGP_KEY_EXPIRATION_TIME_FUNC)( const gnutls_datum*);
-typedef int (*OPENPGP_KEY_REQUEST)(gnutls_session, gnutls_datum*,
- const gnutls_certificate_credentials, opaque*,int);
-typedef int (*OPENPGP_FINGERPRINT)(const gnutls_datum*, unsigned char*, size_t*);
+ const gnutls_datum_t *, const gnutls_datum_t*, int);
+typedef time_t (*OPENPGP_KEY_CREATION_TIME_FUNC)( const gnutls_datum_t*);
+typedef time_t (*OPENPGP_KEY_EXPIRATION_TIME_FUNC)( const gnutls_datum_t*);
+typedef int (*OPENPGP_KEY_REQUEST)(gnutls_session_t, gnutls_datum_t*,
+ const gnutls_certificate_credentials_t, opaque*,int);
+typedef int (*OPENPGP_FINGERPRINT)(const gnutls_datum_t*, unsigned char*, size_t*);
-typedef int (*OPENPGP_RAW_KEY_TO_GCERT)(gnutls_cert*, const gnutls_datum*);
-typedef int (*OPENPGP_RAW_PRIVKEY_TO_GKEY)(gnutls_privkey*, const gnutls_datum*);
+typedef int (*OPENPGP_RAW_KEY_TO_GCERT)(gnutls_cert*, const gnutls_datum_t*);
+typedef int (*OPENPGP_RAW_PRIVKEY_TO_GKEY)(gnutls_privkey*, const gnutls_datum_t*);
-typedef int (*OPENPGP_KEY_TO_GCERT)(gnutls_cert*, gnutls_openpgp_key);
-typedef int (*OPENPGP_PRIVKEY_TO_GKEY)(gnutls_privkey*, gnutls_openpgp_privkey);
+typedef int (*OPENPGP_KEY_TO_GCERT)(gnutls_cert*, gnutls_openpgp_key_t);
+typedef int (*OPENPGP_PRIVKEY_TO_GKEY)(gnutls_privkey*, gnutls_openpgp_privkey_t);
-typedef void (*OPENPGP_KEY_DEINIT)(gnutls_openpgp_key);
-typedef void (*OPENPGP_PRIVKEY_DEINIT)(gnutls_openpgp_privkey);
+typedef void (*OPENPGP_KEY_DEINIT)(gnutls_openpgp_key_t);
+typedef void (*OPENPGP_PRIVKEY_DEINIT)(gnutls_openpgp_privkey_t);