package hev.htproxy

/**
 * Stub required by the vendored libhev-socks5-tunnel. Its JNI_OnLoad (hev-jni.c)
 * runs on library load and does FindClass("hev/htproxy/TProxyService") +
 * RegisterNatives against these exact instance methods; if the class is missing
 * the pending ClassNotFoundException aborts the whole process (SIGABRT).
 *
 * We drive the engine through our own [chat.vojo.proxy.core.Tun2Socks] C bridge
 * and never call these — the class only has to exist with matching signatures.
 * Kept verbatim in release by a -keep rule in proguard-rules.pro.
 */
@Suppress("unused", "FunctionName")
class TProxyService {
    external fun TProxyStartService(configPath: String, fd: Int)
    external fun TProxyStopService()
    external fun TProxyGetStats(): LongArray
}
