language = "C"
cpp_compat = true

[export]
include = [
    "over_tls_client_run",
    "over_tls_client_run_with_ssr_url",
    "over_tls_client_stop",
    "overtls_set_log_callback",
    "overtls_set_traffic_status_callback",
    "overtls_generate_url",
    "overtls_free_string",
]
exclude = [
    "Java_com_github_shadowsocks_bg_OverTlsWrapper_runClient",
    "Java_com_github_shadowsocks_bg_OverTlsWrapper_stopClient",
]

[export.rename]
"ArgVerbosity" = "OverTlsVerbosity"
"TrafficStatus" = "OverTlsTrafficStatus"

[enum]
prefix_with_name = true
