Google Cloud IoT device SDK for embedded C  1.0.2
iotc_bsp_tls_init_params_s Struct Reference

#include <iotc_bsp_tls.h>

Data Fields

void * libiotc_io_callback_context
 
uint8_t * ca_cert_pem_buf
 
size_t ca_cert_pem_buf_length
 
void *(* fp_libiotc_alloc )(size_t)
 
void *(* fp_libiotc_calloc )(size_t, size_t)
 
void *(* fp_libiotc_realloc )(void *, size_t)
 
void(* fp_libiotc_free )(void *)
 
const char * domain_name
 

Detailed Description

The TLS context parameters.

Definition at line 65 of file iotc_bsp_tls.h.

Field Documentation

◆ ca_cert_pem_buf

uint8_t* ca_cert_pem_buf

A pointer to a buffer with root CA PEM certificates.

Definition at line 70 of file iotc_bsp_tls.h.

◆ ca_cert_pem_buf_length

size_t ca_cert_pem_buf_length

The length, in bytes, of ca_cert_pem_buf.

Definition at line 72 of file iotc_bsp_tls.h.

◆ domain_name

const char* domain_name

A pointer to the host's domain name.

The host's domain name must be a null-terminated string.

Definition at line 88 of file iotc_bsp_tls.h.

◆ fp_libiotc_alloc

void*(* fp_libiotc_alloc) (size_t)

A pointer to the client application's memory allocation function.

Definition at line 75 of file iotc_bsp_tls.h.

◆ fp_libiotc_calloc

void*(* fp_libiotc_calloc) (size_t, size_t)

A pointer to the client application's array allocation function.

Definition at line 78 of file iotc_bsp_tls.h.

◆ fp_libiotc_free

void(* fp_libiotc_free) (void *)

A pointer to the client application's free memory function.

Definition at line 84 of file iotc_bsp_tls.h.

◆ fp_libiotc_realloc

void*(* fp_libiotc_realloc) (void *, size_t)

A pointer to the client application's reallocation function.

Definition at line 81 of file iotc_bsp_tls.h.

◆ libiotc_io_callback_context

void* libiotc_io_callback_context

Callback context.

Definition at line 67 of file iotc_bsp_tls.h.


The documentation for this struct was generated from the following file: