wickr-crypto-c
Data Fields
wickr_transport_callbacks Struct Reference

callbacks to notify the user of events within the transport More...

#include <transport_ctx.h>

Data Fields

wickr_transport_tx_func tx
 
wickr_transport_rx_func rx
 
wickr_transport_state_change_func on_state
 
wickr_transport_validate_identity_func on_identity_verify
 

Detailed Description

callbacks to notify the user of events within the transport

Field Documentation

◆ on_identity_verify

wickr_transport_callbacks::on_identity_verify

a callback that will get fired when the owner of the transport needs to decide upon the validity of an inbound identity

◆ on_state

wickr_transport_callbacks::on_state

Called whenever the state of the transport context is updated

◆ rx

wickr_transport_callbacks::rx

Called when a buffer passed to wickr_transport_ctx_process_rx_buffer is decoded

◆ tx

wickr_transport_callbacks::tx

Called when a buffer passed to wickr_transport_ctx_process_tx_buffer is encoded and ready for sending


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