kinetic-c  v0.12.0
Seagate Kinetic Protocol Client Library for C
Data Structures | Macros | Enumerations
bus_internal_types.h File Reference
#include <stdlib.h>
#include <stdint.h>
#include <pthread.h>
#include <openssl/ssl.h>
#include <openssl/err.h>
#include "bus.h"
#include "yacht.h"

Go to the source code of this file.

Data Structures

struct  boxed_msg
 
struct  bus
 Message bus. More...
 
struct  connection_info
 Per-socket connection context. More...
 

Macros

#define BUS_NO_SSL   ((SSL *)-2)
 Special "NO SSL" value, to distinguish from a NULL SSL handle. More...
 
#define TIMEOUT_NOT_YET_SET   ((time_t)(-1))
 Special timeout value indicating UNBOUND. More...
 
#define LISTENER_MSG_TAG   0x15
 Arbitrary byte used to tag writes from the listener. More...
 
#define DEF_FD_SET_SIZE2   4
 Starting size^2 for file descriptor hash table. More...
 

Enumerations

enum  shutdown_state_t
 
enum  rx_error_t
 

Macro Definition Documentation

#define BUS_NO_SSL   ((SSL *)-2)

Special "NO SSL" value, to distinguish from a NULL SSL handle.

Definition at line 63 of file bus_internal_types.h.

#define TIMEOUT_NOT_YET_SET   ((time_t)(-1))

Special timeout value indicating UNBOUND.

Definition at line 98 of file bus_internal_types.h.

#define LISTENER_MSG_TAG   0x15

Arbitrary byte used to tag writes from the listener.

Definition at line 129 of file bus_internal_types.h.

#define DEF_FD_SET_SIZE2   4

Starting size^2 for file descriptor hash table.

Definition at line 132 of file bus_internal_types.h.

Enumeration Type Documentation

Enumerator
SHUTDOWN_STATE_RUNNING 
SHUTDOWN_STATE_SHUTTING_DOWN 
SHUTDOWN_STATE_HALTED 

Definition at line 65 of file bus_internal_types.h.

enum rx_error_t
Enumerator
RX_ERROR_NONE 
RX_ERROR_READY_FOR_DELIVERY 
RX_ERROR_DONE 
RX_ERROR_POLLHUP 
RX_ERROR_POLLERR 
RX_ERROR_READ_FAILURE 
RX_ERROR_TIMEOUT 

Definition at line 100 of file bus_internal_types.h.