package http:openssl

⌘K
Ctrl+K
or
/

    Types

    SSL ¶

    SSL :: struct {}
    Related Procedures With Parameters
    Related Procedures With Returns

    SSL_CTX ¶

    SSL_CTX :: struct {}
    Related Procedures With Parameters
    Related Procedures With Returns

    SSL_METHOD ¶

    SSL_METHOD :: struct {}
    Related Procedures With Parameters
    Related Procedures With Returns

    Version ¶

    Version :: distinct bit_field u32 {
    	pre_release: uint | 4,
    	patch:       uint | 16,
    	minor:       uint | 8,
    	major:       uint | 4,
    }

    Constants

    SHARED ¶

    SHARED :: #config(OPENSSL_SHARED, false)

    SSL_CTRL_SET_TLSEXT_HOSTNAME ¶

    SSL_CTRL_SET_TLSEXT_HOSTNAME :: 55

    TLSEXT_NAMETYPE_host_name ¶

    TLSEXT_NAMETYPE_host_name :: 0

    Variables

    Procedures

    ERR_print_errors_fp ¶

    ERR_print_errors_fp :: proc "c" (fp: ^libc.FILE) ---

    ERR_print_errors_stderr ¶

    ERR_print_errors_stderr :: proc() {…}

    OpenSSL_version_num ¶

    OpenSSL_version_num :: proc "c" () -> u64 ---

    SSL_CTX_free ¶

    SSL_CTX_free :: proc "c" (ctx: ^SSL_CTX) ---

    SSL_CTX_new ¶

    SSL_CTX_new :: proc "c" (method: ^SSL_METHOD) -> ^SSL_CTX ---

    SSL_connect ¶

    SSL_connect :: proc "c" (ssl: ^SSL) -> i32 ---

    SSL_ctrl ¶

    SSL_ctrl :: proc "c" (ssl: ^SSL, cmd: i32, larg: i64, parg: rawptr) -> i64 ---

    SSL_free ¶

    SSL_free :: proc "c" (ssl: ^SSL) ---

    SSL_get_error ¶

    SSL_get_error :: proc "c" (ssl: ^SSL, ret: i32) -> i32 ---

    SSL_new ¶

    SSL_new :: proc "c" (ctx: ^SSL_CTX) -> ^SSL ---

    SSL_read ¶

    SSL_read :: proc "c" (ssl: ^SSL, buf: [^]u8, num: i32) -> i32 ---

    SSL_set_fd ¶

    SSL_set_fd :: proc "c" (ssl: ^SSL, fd: i32) -> i32 ---

    SSL_set_tlsext_host_name ¶

    SSL_set_tlsext_host_name :: proc(ssl: ^SSL, name: cstring) -> i32 {…}
     

    This is a macro in c land.

    SSL_write ¶

    SSL_write :: proc "c" (ssl: ^SSL, buf: [^]u8, num: i32) -> i32 ---

    TLS_client_method ¶

    TLS_client_method :: proc "c" () -> ^SSL_METHOD ---

    Procedure Groups

    Source Files

    Generation Information

    Generated with odin version dev-2024-10 (vendor "odin") Linux_amd64 @ 2024-10-30 12:34:52.777486405 +0000 UTC