pub unsafe extern "C" fn sslcCreateContext(
    context: *mut sslcContext,
    sockfd: c_int,
    input_opt: u32_,
    hostname: *const c_char
) -> Result
Expand description

Creates a sslc context.

§Arguments

  • context - sslc context.
  • sockfd - Socket fd, this code automatically uses the required SOC command before using the actual sslc command.
  • input_opt - Input sslc options bitmask.
  • hostname - Server hostname.