kinetic-c  v0.12.0
Seagate Kinetic Protocol Client Library for C
Data Fields
bus Struct Reference

Message bus. More...

#include <bus_internal_types.h>

Data Fields

bus_sink_cbsink_cb
 IO sink callback. More...
 
bus_unpack_cbunpack_cb
 Message unpacking callback. More...
 
bus_unexpected_msg_cbunexpected_msg_cb
 
bus_error_cberror_cb
 Error handling callback. More...
 
void * udata
 User data for callbacks. More...
 
int log_level
 Log level. More...
 
bus_log_cblog_cb
 Logging callback. More...
 
uint8_t listener_count
 Number of listeners. More...
 
struct listener ** listeners
 Listener array. More...
 
bool * joined
 Which threads have joined. More...
 
pthread_t * threads
 Threads. More...
 
shutdown_state_t shutdown_state
 Current shutdown state. More...
 
struct threadpoolthreadpool
 Thread pool. More...
 
SSL_CTX * ssl_ctx
 SSL context. More...
 
struct yachtfd_set
 Locked hash table for fd -> connection_info. More...
 
pthread_mutex_t fd_set_lock
 

Detailed Description

Message bus.

Definition at line 72 of file bus_internal_types.h.

Field Documentation

bus_sink_cb* bus::sink_cb

IO sink callback.

Definition at line 73 of file bus_internal_types.h.

bus_unpack_cb* bus::unpack_cb

Message unpacking callback.

Definition at line 74 of file bus_internal_types.h.

bus_unexpected_msg_cb* bus::unexpected_msg_cb

Definition at line 75 of file bus_internal_types.h.

bus_error_cb* bus::error_cb

Error handling callback.

Definition at line 76 of file bus_internal_types.h.

void* bus::udata

User data for callbacks.

Definition at line 77 of file bus_internal_types.h.

int bus::log_level

Log level.

Definition at line 79 of file bus_internal_types.h.

bus_log_cb* bus::log_cb

Logging callback.

Definition at line 80 of file bus_internal_types.h.

uint8_t bus::listener_count

Number of listeners.

Definition at line 82 of file bus_internal_types.h.

struct listener** bus::listeners

Listener array.

Definition at line 83 of file bus_internal_types.h.

bool* bus::joined

Which threads have joined.

Definition at line 85 of file bus_internal_types.h.

pthread_t* bus::threads

Threads.

Definition at line 86 of file bus_internal_types.h.

shutdown_state_t bus::shutdown_state

Current shutdown state.

Definition at line 87 of file bus_internal_types.h.

struct threadpool* bus::threadpool

Thread pool.

Definition at line 89 of file bus_internal_types.h.

SSL_CTX* bus::ssl_ctx

SSL context.

Definition at line 90 of file bus_internal_types.h.

struct yacht* bus::fd_set

Locked hash table for fd -> connection_info.

Definition at line 93 of file bus_internal_types.h.

pthread_mutex_t bus::fd_set_lock

Definition at line 94 of file bus_internal_types.h.


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