8#ifndef BOTAN_FFI_TLS_H_
9#define BOTAN_FFI_TLS_H_
39#define BOTAN_FFI_TLS_API_VERSION 20260916
#define BOTAN_FFI_EXPORT(maj, min)
struct botan_privkey_struct * botan_privkey_t
struct botan_x509_crl_struct * botan_x509_crl_t
struct botan_x509_cert_struct * botan_x509_cert_t
struct botan_rng_struct * botan_rng_t
int(* botan_view_str_fn)(botan_view_ctx view_ctx, const char *str, size_t len)
int botan_tls_credentials_use_system_store(botan_tls_credentials_t creds)
int botan_tls_credentials_add_crl(botan_tls_credentials_t creds, botan_x509_crl_t crl)
int botan_tls_session_manager_init_noop(botan_tls_session_manager_t *mgr)
int botan_tls_policy_init(botan_tls_policy_t *policy, const char *name)
int botan_tls_credentials_init(botan_tls_credentials_t *creds)
int botan_tls_credentials_add_cert_chain(botan_tls_credentials_t creds, const botan_x509_cert_t *chain, size_t chain_len, botan_privkey_t key)
int botan_tls_credentials_add_trusted_dir(botan_tls_credentials_t creds, const char *path)
int botan_tls_policy_init_from_text(botan_tls_policy_t *policy, const char *text)
int botan_tls_session_manager_init_memory(botan_tls_session_manager_t *mgr, botan_rng_t rng, size_t max_sessions)
int botan_tls_session_manager_destroy(botan_tls_session_manager_t mgr)
int botan_tls_credentials_add_trusted_cert(botan_tls_credentials_t creds, botan_x509_cert_t cert)
int botan_tls_policy_view_text(botan_tls_policy_t policy, botan_view_ctx ctx, botan_view_str_fn view)
int botan_tls_credentials_destroy(botan_tls_credentials_t creds)
int botan_tls_policy_destroy(botan_tls_policy_t policy)
struct botan_tls_policy_struct * botan_tls_policy_t
struct botan_tls_session_manager_struct * botan_tls_session_manager_t
struct botan_tls_credentials_struct * botan_tls_credentials_t