GRPC Core  18.0.0
Data Structures | Functions | Variables
transport_security.h File Reference
#include <grpc/support/port_platform.h>
#include <stdbool.h>
#include "src/core/lib/debug/trace.h"
#include "src/core/tsi/transport_security_interface.h"

Go to the source code of this file.

Data Structures

struct  tsi_frame_protector_vtable
 
struct  tsi_frame_protector
 
struct  tsi_handshaker_vtable
 
struct  tsi_handshaker
 
struct  tsi_handshaker_result_vtable
 
struct  tsi_handshaker_result
 

Functions

tsi_result tsi_construct_peer (size_t property_count, tsi_peer *peer)
 
tsi_peer_property tsi_init_peer_property (void)
 
void tsi_peer_property_destruct (tsi_peer_property *property)
 
tsi_result tsi_construct_string_peer_property (const char *name, const char *value, size_t value_length, tsi_peer_property *property)
 
tsi_result tsi_construct_allocated_string_peer_property (const char *name, size_t value_length, tsi_peer_property *property)
 
tsi_result tsi_construct_string_peer_property_from_cstring (const char *name, const char *value, tsi_peer_property *property)
 
const tsi_peer_propertytsi_peer_get_property_by_name (const tsi_peer *peer, const char *name)
 
char * tsi_strdup (const char *src)
 

Variables

grpc_core::TraceFlag tsi_tracing_enabled
 

Function Documentation

◆ tsi_construct_allocated_string_peer_property()

tsi_result tsi_construct_allocated_string_peer_property ( const char *  name,
size_t  value_length,
tsi_peer_property property 
)

◆ tsi_construct_peer()

tsi_result tsi_construct_peer ( size_t  property_count,
tsi_peer peer 
)

◆ tsi_construct_string_peer_property()

tsi_result tsi_construct_string_peer_property ( const char *  name,
const char *  value,
size_t  value_length,
tsi_peer_property property 
)

◆ tsi_construct_string_peer_property_from_cstring()

tsi_result tsi_construct_string_peer_property_from_cstring ( const char *  name,
const char *  value,
tsi_peer_property property 
)

◆ tsi_init_peer_property()

tsi_peer_property tsi_init_peer_property ( void  )

◆ tsi_peer_get_property_by_name()

const tsi_peer_property* tsi_peer_get_property_by_name ( const tsi_peer peer,
const char *  name 
)

◆ tsi_peer_property_destruct()

void tsi_peer_property_destruct ( tsi_peer_property property)

◆ tsi_strdup()

char* tsi_strdup ( const char *  src)

Variable Documentation

◆ tsi_tracing_enabled

grpc_core::TraceFlag tsi_tracing_enabled
extern