OpenSDN source code
thrift_binary_protocol.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define THRIFT_BINARY_PROTOCOL_VERSION_1   0x80010000
 
#define THRIFT_BINARY_PROTOCOL_VERSION_MASK   0xffff0000
 

Typedefs

typedef ThriftProtocol ThriftBinaryProtocol
 

Functions

void thrift_binary_protocol_init (ThriftBinaryProtocol *protocol)
 
int32_t thrift_binary_protocol_skip_from_buffer (uint8_t *buf, const uint32_t buflen, ThriftType type, int *error)
 
static int32_t thrift_binary_protocol_write_sandesh_end (ThriftProtocol *protocol, int *error)
 
static int32_t thrift_binary_protocol_write_struct_begin (ThriftProtocol *protocol, const char *name, int *error)
 
static int32_t thrift_binary_protocol_write_struct_end (ThriftProtocol *protocol, int *error)
 
static int32_t thrift_binary_protocol_write_field_end (ThriftProtocol *protocol, int *error)
 
static int32_t thrift_binary_protocol_write_list_end (ThriftProtocol *protocol, int *error)
 
static int32_t thrift_binary_protocol_read_sandesh_end (ThriftProtocol *protocol, int *error)
 
static int32_t thrift_binary_protocol_read_struct_end (ThriftProtocol *protocol, int *error)
 

Macro Definition Documentation

◆ THRIFT_BINARY_PROTOCOL_VERSION_1

#define THRIFT_BINARY_PROTOCOL_VERSION_1   0x80010000

Definition at line 31 of file thrift_binary_protocol.h.

◆ THRIFT_BINARY_PROTOCOL_VERSION_MASK

#define THRIFT_BINARY_PROTOCOL_VERSION_MASK   0xffff0000

Definition at line 32 of file thrift_binary_protocol.h.

Typedef Documentation

◆ ThriftBinaryProtocol

Definition at line 34 of file thrift_binary_protocol.h.

Function Documentation

◆ thrift_binary_protocol_init()

void thrift_binary_protocol_init ( ThriftBinaryProtocol protocol)

◆ thrift_binary_protocol_read_sandesh_end()

static int32_t thrift_binary_protocol_read_sandesh_end ( ThriftProtocol protocol,
int *  error 
)
inlinestatic

Definition at line 89 of file thrift_binary_protocol.h.

◆ thrift_binary_protocol_read_struct_end()

static int32_t thrift_binary_protocol_read_struct_end ( ThriftProtocol protocol,
int *  error 
)
inlinestatic

Definition at line 98 of file thrift_binary_protocol.h.

◆ thrift_binary_protocol_skip_from_buffer()

int32_t thrift_binary_protocol_skip_from_buffer ( uint8_t *  buf,
const uint32_t  buflen,
ThriftType  type,
int *  error 
)

◆ thrift_binary_protocol_write_field_end()

static int32_t thrift_binary_protocol_write_field_end ( ThriftProtocol protocol,
int *  error 
)
inlinestatic

Definition at line 70 of file thrift_binary_protocol.h.

◆ thrift_binary_protocol_write_list_end()

static int32_t thrift_binary_protocol_write_list_end ( ThriftProtocol protocol,
int *  error 
)
inlinestatic

Definition at line 79 of file thrift_binary_protocol.h.

◆ thrift_binary_protocol_write_sandesh_end()

static int32_t thrift_binary_protocol_write_sandesh_end ( ThriftProtocol protocol,
int *  error 
)
inlinestatic

Definition at line 42 of file thrift_binary_protocol.h.

◆ thrift_binary_protocol_write_struct_begin()

static int32_t thrift_binary_protocol_write_struct_begin ( ThriftProtocol protocol,
const char *  name,
int *  error 
)
inlinestatic

Definition at line 50 of file thrift_binary_protocol.h.

◆ thrift_binary_protocol_write_struct_end()

static int32_t thrift_binary_protocol_write_struct_end ( ThriftProtocol protocol,
int *  error 
)
inlinestatic

Definition at line 61 of file thrift_binary_protocol.h.