# include <gnutls/openpgp.h>
# include <gnutls/tpm.h>
-/* *INDENT-OFF* */
#ifdef __cplusplus
extern "C" {
#endif
-/* *INDENT-ON* */
/* Public key operations */
gnutls_certificate_print_formats_t format,
gnutls_datum_t * out);
-/* *INDENT-OFF* */
#ifdef __cplusplus
}
#endif
-/* *INDENT-ON* */
#endif /* GNUTLS_ABSTRACT_H */
#ifndef GNUTLS_COMPAT_H
# define GNUTLS_COMPAT_H
-/* *INDENT-OFF* */
#ifdef __cplusplus
extern "C" {
#endif
-/* *INDENT-ON* */
# ifdef __GNUC__
const unsigned int **list)
_GNUTLS_GCC_ATTR_DEPRECATED;
-/* *INDENT-OFF* */
#ifdef __cplusplus
}
#endif
-/* *INDENT-ON* */
#endif /* GNUTLS_COMPAT_H */
# include <gnutls/gnutls.h>
-/* *INDENT-OFF* */
#ifdef __cplusplus
extern "C" {
#endif
-/* *INDENT-ON* */
typedef struct api_cipher_hd_st *gnutls_cipher_hd_t;
int gnutls_decode_gost_rs_value(const gnutls_datum_t * sig_value,
gnutls_datum_t * r, gnutls_datum_t * s);
-/* *INDENT-OFF* */
#ifdef __cplusplus
}
#endif
-/* *INDENT-ON* */
#endif /* GNUTLS_CRYPTO_H */
# include <gnutls/gnutls.h>
-/* *INDENT-OFF* */
#ifdef __cplusplus
extern "C" {
#endif
-/* *INDENT-ON* */
# define GNUTLS_COOKIE_KEY_SIZE 16
unsigned int gnutls_record_get_discarded(gnutls_session_t session);
-/* *INDENT-OFF* */
#ifdef __cplusplus
}
#endif
-/* *INDENT-ON* */
#endif /* GNUTLS_DTLS_H */
/* Get time_t. */
# include <time.h>
-/* *INDENT-OFF* */
#ifdef __cplusplus
extern "C" {
#endif
-/* *INDENT-ON* */
# define GNUTLS_VERSION "@VERSION@"
-# define GNUTLS_VERSION_MAJOR @MAJOR_VERSION@
-# define GNUTLS_VERSION_MINOR @MINOR_VERSION@
-# define GNUTLS_VERSION_PATCH @PATCH_VERSION@
+/* clang-format off */
+#define GNUTLS_VERSION_MAJOR @MAJOR_VERSION@
+#define GNUTLS_VERSION_MINOR @MINOR_VERSION@
+#define GNUTLS_VERSION_PATCH @PATCH_VERSION@
-# define GNUTLS_VERSION_NUMBER @NUMBER_VERSION@
+#define GNUTLS_VERSION_NUMBER @NUMBER_VERSION@
+/* clang-format on */
# define GNUTLS_CIPHER_RIJNDAEL_128_CBC GNUTLS_CIPHER_AES_128_CBC
# define GNUTLS_CIPHER_RIJNDAEL_256_CBC GNUTLS_CIPHER_AES_256_CBC
/* Session stuff
*/
-/* *INDENT-OFF* */
+/* clang-format off */
@DEFINE_IOVEC_T@
-/* *INDENT-ON* */
+/* clang-format on */
typedef ssize_t(*gnutls_pull_func) (gnutls_transport_ptr_t, void *, size_t);
typedef ssize_t(*gnutls_push_func) (gnutls_transport_ptr_t, const void *,
# define GNUTLS_E_APPLICATION_ERROR_MAX -65000
# define GNUTLS_E_APPLICATION_ERROR_MIN -65500
-/* *INDENT-OFF* */
#ifdef __cplusplus
}
#endif
-/* *INDENT-ON* */
# include <gnutls/compat.h>
# include <gnutls/gnutls.h>
# include <gnutls/x509.h>
-/* *INDENT-OFF* */
#ifdef __cplusplus
extern "C" {
#endif
-/* *INDENT-ON* */
# define GNUTLS_OCSP_NONCE "1.3.6.1.5.5.7.48.1.2"
const gnutls_datum_t * resp_data,
gnutls_x509_crt_fmt_t format, unsigned int flags);
-/* *INDENT-OFF* */
#ifdef __cplusplus
}
#endif
-/* *INDENT-ON* */
#endif /* GNUTLS_OCSP_H */
# include <gnutls/gnutls.h>
# include <limits.h>
-/* *INDENT-OFF* */
#ifdef __cplusplus
extern "C" {
#endif
-/* *INDENT-ON* */
/* Openpgp certificate stuff
*/
(gnutls_certificate_credentials_t c, const char *file,
gnutls_openpgp_crt_fmt_t format) _GNUTLS_GCC_ATTR_DEPRECATED;
-/* *INDENT-OFF* */
#ifdef __cplusplus
}
#endif
-/* *INDENT-ON* */
#endif /* GNUTLS_OPENPGP_H */
# include <gnutls/gnutls.h>
# include <gnutls/x509.h>
-/* *INDENT-OFF* */
#ifdef __cplusplus
extern "C" {
#endif
-/* *INDENT-ON* */
# define GNUTLS_PKCS11_MAX_PIN_LEN 256
# define gnutls_x509_crt_import_pkcs11_url gnutls_x509_crt_import_url
-/* *INDENT-OFF* */
#ifdef __cplusplus
}
#endif
-/* *INDENT-ON* */
#endif /* GNUTLS_PKCS11_H */
# include <gnutls/x509.h>
-/* *INDENT-OFF* */
#ifdef __cplusplus
extern "C" {
#endif
-/* *INDENT-ON* */
/* PKCS12 structures handling
*/
int gnutls_pkcs12_bag_set_friendly_name(gnutls_pkcs12_bag_t bag,
unsigned indx, const char *name);
-/* *INDENT-OFF* */
#ifdef __cplusplus
}
#endif
-/* *INDENT-ON* */
#endif /* GNUTLS_PKCS12_H */
# include <gnutls/gnutls.h>
# include <gnutls/x509.h>
-/* *INDENT-OFF* */
#ifdef __cplusplus
extern "C" {
#endif
-/* *INDENT-ON* */
/* PKCS7 structures handling
*/
gnutls_certificate_print_formats_t format,
gnutls_datum_t * out);
-/* *INDENT-OFF* */
#ifdef __cplusplus
}
#endif
-/* *INDENT-ON* */
#endif /* GNUTLS_PKCS7_H */
/* Get socklen_t */
# include <sys/socket.h>
-/* *INDENT-OFF* */
#ifdef __cplusplus
extern "C" {
#endif
-/* *INDENT-ON* */
void gnutls_transport_set_fastopen(gnutls_session_t session,
int fd,
socklen_t connect_addrlen,
unsigned int flags);
-/* *INDENT-OFF* */
#ifdef __cplusplus
}
#endif
-/* *INDENT-ON* */
#endif /* GNUTLS_SOCKET_H */
* they will be requested through the pin callbacks.
*/
-/* *INDENT-OFF* */
#ifdef __cplusplus
extern "C" {
#endif
-/* *INDENT-ON* */
struct system_key_iter_st;
typedef struct system_key_iter_st *gnutls_system_key_iter_t;
gnutls_x509_privkey_t privkey, const char *label,
char **cert_url, char **key_url);
-/* *INDENT-OFF* */
#ifdef __cplusplus
}
#endif
-/* *INDENT-ON* */
#endif /* GNUTLS_SYSTEM_KEYS_H */
# include <gnutls/gnutls.h>
# include <gnutls/x509.h>
-/* *INDENT-OFF* */
#ifdef __cplusplus
extern "C" {
#endif
-/* *INDENT-ON* */
struct tpm_key_list_st;
typedef struct tpm_key_list_st *gnutls_tpm_key_list_t;
int gnutls_tpm_privkey_delete(const char *url, const char *srk_password);
-/* *INDENT-OFF* */
#ifdef __cplusplus
}
#endif
-/* *INDENT-ON* */
#endif /* GNUTLS_TPM_H */
* keys and certificates.
*/
-/* *INDENT-OFF* */
#ifdef __cplusplus
extern "C" {
#endif
-/* *INDENT-ON* */
typedef int (*gnutls_privkey_import_url_func)(gnutls_privkey_t pkey,
const char *url, unsigned flags);
int gnutls_register_custom_url(const gnutls_custom_url_st * st);
-/* *INDENT-OFF* */
#ifdef __cplusplus
}
#endif
-/* *INDENT-ON* */
#endif /* GNUTLS_URLS_H */
# include <gnutls/gnutls.h>
# include <gnutls/x509.h>
-/* *INDENT-OFF* */
#ifdef __cplusplus
extern "C" {
#endif
-/* *INDENT-ON* */
typedef struct gnutls_subject_alt_names_st *gnutls_subject_alt_names_t;
gnutls_sign_algorithm_t * sigalg,
gnutls_datum_t * signature);
-/* *INDENT-OFF* */
#ifdef __cplusplus
}
#endif
-/* *INDENT-ON* */
#endif /* GNUTLS_X509_EXT_H */
# include <gnutls/gnutls.h>
-/* *INDENT-OFF* */
#ifdef __cplusplus
extern "C" {
#endif
-/* *INDENT-ON* */
/* Some OIDs usually found in Distinguished names, or
* in Subject Directory Attribute extensions.
# include <gnutls/pkcs7.h>
-/* *INDENT-OFF* */
#ifdef __cplusplus
}
#endif
-/* *INDENT-ON* */
#endif /* GNUTLS_X509_H */
#ifndef GNUTLS_TESTS_TEST_CHAINS_ISSUER_AIA_H
# define GNUTLS_TESTS_TEST_CHAINS_ISSUER_AIA_H
-/* *INDENT-OFF* */
-
#define MAX_CHAIN 1
static const char *missing_cert_aia[] = {
# pragma GCC diagnostic pop
#endif
-/* *INDENT-ON* */
-
#endif /* GNUTLS_TESTS_TEST_CHAINS_ISSUER_AIA_H */
#ifndef GNUTLS_TESTS_TEST_CHAINS_H
# define GNUTLS_TESTS_TEST_CHAINS_H
-/* *INDENT-OFF* */
-
#define MAX_CHAIN 10
static const char *chain_with_no_subject_id_in_ca_ok[] = {
# pragma GCC diagnostic pop
#endif
-/* *INDENT-ON* */
-
#endif /* GNUTLS_TESTS_TEST_CHAINS_H */