API reference Dodo 0.1.4

std/tls/windows

Public declarations, types, methods, and source contracts for std/tls/windows.

On this page

Library guide · API index and notation

This page is generated from the bundled library in this checkout. Signatures and adjacent source comments are reproduced below; the linked guide explains usage, storage, failures, and platform support.

import "std/tls/windows"

This is a provider or implementation package. Start with the linked guide’s application API; native declarations depend on the selected target.

Names used in signatures

Unqualified names denote this package’s types (including other source files in the same package), language built-ins, or generic parameters such as T. Qualified names use the import aliases below. These aliases belong to the library source; import a dependency yourself to use its alias in your program.

This package has no source imports.

dodo_tls_new

Function · Source

pub unsafe extern "C" fn dodo_tls_new(server: i32, hostname: *const u8, hostname_len: usize, roots: *const u8, roots_len: usize, certificate: *const u8, certificate_len: usize, key: *const u8, key_len: usize, alpn: *const u8, alpn_len: usize, system_roots: i32, client_auth: i32, verify_time: i64, error: *mut i32) -> *mut u8

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_tls_free

Function · Source

pub unsafe extern "C" fn dodo_tls_free(state: *mut u8)

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_tls_handshake

Function · Source

pub unsafe extern "C" fn dodo_tls_handshake(state: *mut u8, error: *mut i32) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_tls_feed

Function · Source

pub unsafe extern "C" fn dodo_tls_feed(state: *mut u8, bytes: *const u8, count: usize, actual: *mut usize) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_tls_drain

Function · Source

pub unsafe extern "C" fn dodo_tls_drain(state: *mut u8, bytes: *mut u8, count: usize, actual: *mut usize) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_tls_read

Function · Source

pub unsafe extern "C" fn dodo_tls_read(state: *mut u8, bytes: *mut u8, count: usize, actual: *mut usize, error: *mut i32) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_tls_write

Function · Source

pub unsafe extern "C" fn dodo_tls_write(state: *mut u8, bytes: *const u8, count: usize, actual: *mut usize, error: *mut i32) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_tls_flush

Function · Source

pub unsafe extern "C" fn dodo_tls_flush(state: *mut u8, error: *mut i32) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_tls_shutdown

Function · Source

pub unsafe extern "C" fn dodo_tls_shutdown(state: *mut u8, error: *mut i32) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_tls_eof

Function · Source

pub unsafe extern "C" fn dodo_tls_eof(state: *mut u8)

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

dodo_tls_alpn

Function · Source

pub unsafe extern "C" fn dodo_tls_alpn(state: *mut u8, bytes: *mut u8, capacity: usize) -> i32

Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.

Type to search all documentation.

Keyboard shortcuts

Search documentation
Ctrl K or /
Move through results
↑ ↓
Open selected result
Enter
Close a dialog
Esc
Show these shortcuts
?