OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
_ThriftProtocol Struct Reference

#include <thrift_protocol.h>

Collaboration diagram for _ThriftProtocol:

Public Attributes

ThriftProtocolType ptype
 
ThriftTransporttransport
 
int32_t(* write_sandesh_begin )(struct _ThriftProtocol *protocol, const char *name, int *error)
 
int32_t(* write_sandesh_end )(struct _ThriftProtocol *protocol, int *error)
 
int32_t(* write_struct_begin )(struct _ThriftProtocol *protocol, const char *name, int *error)
 
int32_t(* write_struct_end )(struct _ThriftProtocol *protocol, int *error)
 
int32_t(* write_field_begin )(struct _ThriftProtocol *protocol, const char *name, const ThriftType field_type, const int16_t field_id, int *error)
 
int32_t(* write_field_end )(struct _ThriftProtocol *protocol, int *error)
 
int32_t(* write_field_stop )(struct _ThriftProtocol *protocol, int *error)
 
int32_t(* write_list_begin )(struct _ThriftProtocol *protocol, const ThriftType element_type, const u_int32_t size, int *error)
 
int32_t(* write_list_end )(struct _ThriftProtocol *protocol, int *error)
 
int32_t(* write_bool )(struct _ThriftProtocol *protocol, const u_int8_t value, int *error)
 
int32_t(* write_byte )(struct _ThriftProtocol *protocol, const int8_t value, int *error)
 
int32_t(* write_i16 )(struct _ThriftProtocol *protocol, const int16_t value, int *error)
 
int32_t(* write_i32 )(struct _ThriftProtocol *protocol, const int32_t value, int *error)
 
int32_t(* write_i64 )(struct _ThriftProtocol *protocol, const int64_t value, int *error)
 
int32_t(* write_u16 )(struct _ThriftProtocol *protocol, const u_int16_t value, int *error)
 
int32_t(* write_u32 )(struct _ThriftProtocol *protocol, const u_int32_t value, int *error)
 
int32_t(* write_u64 )(struct _ThriftProtocol *protocol, const u_int64_t value, int *error)
 
int32_t(* write_ipv4 )(struct _ThriftProtocol *protocol, const u_int32_t value, int *error)
 
int32_t(* write_ipaddr )(struct _ThriftProtocol *protocol, const ipaddr_t *value, int *error)
 
int32_t(* write_double )(struct _ThriftProtocol *protocol, const double value, int *error)
 
int32_t(* write_string )(struct _ThriftProtocol *protocol, const char *str, int *error)
 
int32_t(* write_binary )(struct _ThriftProtocol *protocol, const void *buf, const u_int32_t len, int *error)
 
int32_t(* write_xml )(struct _ThriftProtocol *protocol, const char *str, int *error)
 
int32_t(* write_uuid_t )(struct _ThriftProtocol *protocol, const ct_uuid_t value, int *error)
 
int32_t(* read_sandesh_begin )(struct _ThriftProtocol *protocol, char **name, int *error)
 
int32_t(* read_sandesh_end )(struct _ThriftProtocol *protocol, int *error)
 
int32_t(* read_struct_begin )(struct _ThriftProtocol *protocol, char **name, int *error)
 
int32_t(* read_struct_end )(struct _ThriftProtocol *protocol, int *error)
 
int32_t(* read_field_begin )(struct _ThriftProtocol *protocol, char **name, ThriftType *field_type, int16_t *field_id, int *error)
 
int32_t(* read_field_end )(struct _ThriftProtocol *protocol, int *error)
 
int32_t(* read_list_begin )(struct _ThriftProtocol *protocol, ThriftType *element_type, u_int32_t *size, int *error)
 
int32_t(* read_list_end )(struct _ThriftProtocol *protocol, int *error)
 
int32_t(* read_bool )(struct _ThriftProtocol *protocol, u_int8_t *value, int *error)
 
int32_t(* read_byte )(struct _ThriftProtocol *protocol, int8_t *value, int *error)
 
int32_t(* read_i16 )(struct _ThriftProtocol *protocol, int16_t *value, int *error)
 
int32_t(* read_i32 )(struct _ThriftProtocol *protocol, int32_t *value, int *error)
 
int32_t(* read_i64 )(struct _ThriftProtocol *protocol, int64_t *value, int *error)
 
int32_t(* read_u16 )(struct _ThriftProtocol *protocol, u_int16_t *value, int *error)
 
int32_t(* read_u32 )(struct _ThriftProtocol *protocol, u_int32_t *value, int *error)
 
int32_t(* read_u64 )(struct _ThriftProtocol *protocol, u_int64_t *value, int *error)
 
int32_t(* read_ipv4 )(struct _ThriftProtocol *protocol, u_int32_t *value, int *error)
 
int32_t(* read_ipaddr )(struct _ThriftProtocol *protocol, ipaddr_t *value, int *error)
 
int32_t(* read_double )(struct _ThriftProtocol *protocol, double *value, int *error)
 
int32_t(* read_string )(struct _ThriftProtocol *protocol, char **str, int *error)
 
int32_t(* read_binary )(struct _ThriftProtocol *protocol, void **buf, u_int32_t *len, int *error)
 
int32_t(* read_xml )(struct _ThriftProtocol *protocol, char **str, int *error)
 
int32_t(* read_uuid_t )(struct _ThriftProtocol *protocol, ct_uuid_t *value, int *error)
 

Detailed Description

Definition at line 88 of file thrift_protocol.h.

Member Data Documentation

ThriftProtocolType _ThriftProtocol::ptype

Definition at line 90 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::read_binary)(struct _ThriftProtocol *protocol, void **buf, u_int32_t *len, int *error)

Definition at line 165 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::read_bool)(struct _ThriftProtocol *protocol, u_int8_t *value, int *error)

Definition at line 151 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::read_byte)(struct _ThriftProtocol *protocol, int8_t *value, int *error)

Definition at line 153 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::read_double)(struct _ThriftProtocol *protocol, double *value, int *error)

Definition at line 162 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::read_field_begin)(struct _ThriftProtocol *protocol, char **name, ThriftType *field_type, int16_t *field_id, int *error)

Definition at line 144 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::read_field_end)(struct _ThriftProtocol *protocol, int *error)

Definition at line 147 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::read_i16)(struct _ThriftProtocol *protocol, int16_t *value, int *error)

Definition at line 154 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::read_i32)(struct _ThriftProtocol *protocol, int32_t *value, int *error)

Definition at line 155 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::read_i64)(struct _ThriftProtocol *protocol, int64_t *value, int *error)

Definition at line 156 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::read_ipaddr)(struct _ThriftProtocol *protocol, ipaddr_t *value, int *error)

Definition at line 161 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::read_ipv4)(struct _ThriftProtocol *protocol, u_int32_t *value, int *error)

Definition at line 160 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::read_list_begin)(struct _ThriftProtocol *protocol, ThriftType *element_type, u_int32_t *size, int *error)

Definition at line 148 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::read_list_end)(struct _ThriftProtocol *protocol, int *error)

Definition at line 150 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::read_sandesh_begin)(struct _ThriftProtocol *protocol, char **name, int *error)

Definition at line 138 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::read_sandesh_end)(struct _ThriftProtocol *protocol, int *error)

Definition at line 140 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::read_string)(struct _ThriftProtocol *protocol, char **str, int *error)

Definition at line 164 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::read_struct_begin)(struct _ThriftProtocol *protocol, char **name, int *error)

Definition at line 141 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::read_struct_end)(struct _ThriftProtocol *protocol, int *error)

Definition at line 143 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::read_u16)(struct _ThriftProtocol *protocol, u_int16_t *value, int *error)

Definition at line 157 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::read_u32)(struct _ThriftProtocol *protocol, u_int32_t *value, int *error)

Definition at line 158 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::read_u64)(struct _ThriftProtocol *protocol, u_int64_t *value, int *error)

Definition at line 159 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::read_uuid_t)(struct _ThriftProtocol *protocol, ct_uuid_t *value, int *error)

Definition at line 168 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::read_xml)(struct _ThriftProtocol *protocol, char **str, int *error)

Definition at line 167 of file thrift_protocol.h.

ThriftTransport* _ThriftProtocol::transport

Definition at line 91 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::write_binary)(struct _ThriftProtocol *protocol, const void *buf, const u_int32_t len, int *error)

Definition at line 131 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::write_bool)(struct _ThriftProtocol *protocol, const u_int8_t value, int *error)

Definition at line 107 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::write_byte)(struct _ThriftProtocol *protocol, const int8_t value, int *error)

Definition at line 109 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::write_double)(struct _ThriftProtocol *protocol, const double value, int *error)

Definition at line 127 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::write_field_begin)(struct _ThriftProtocol *protocol, const char *name, const ThriftType field_type, const int16_t field_id, int *error)

Definition at line 98 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::write_field_end)(struct _ThriftProtocol *protocol, int *error)

Definition at line 101 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::write_field_stop)(struct _ThriftProtocol *protocol, int *error)

Definition at line 102 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::write_i16)(struct _ThriftProtocol *protocol, const int16_t value, int *error)

Definition at line 111 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::write_i32)(struct _ThriftProtocol *protocol, const int32_t value, int *error)

Definition at line 113 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::write_i64)(struct _ThriftProtocol *protocol, const int64_t value, int *error)

Definition at line 115 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::write_ipaddr)(struct _ThriftProtocol *protocol, const ipaddr_t *value, int *error)

Definition at line 125 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::write_ipv4)(struct _ThriftProtocol *protocol, const u_int32_t value, int *error)

Definition at line 123 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::write_list_begin)(struct _ThriftProtocol *protocol, const ThriftType element_type, const u_int32_t size, int *error)

Definition at line 103 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::write_list_end)(struct _ThriftProtocol *protocol, int *error)

Definition at line 106 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::write_sandesh_begin)(struct _ThriftProtocol *protocol, const char *name, int *error)

Definition at line 92 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::write_sandesh_end)(struct _ThriftProtocol *protocol, int *error)

Definition at line 94 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::write_string)(struct _ThriftProtocol *protocol, const char *str, int *error)

Definition at line 129 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::write_struct_begin)(struct _ThriftProtocol *protocol, const char *name, int *error)

Definition at line 95 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::write_struct_end)(struct _ThriftProtocol *protocol, int *error)

Definition at line 97 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::write_u16)(struct _ThriftProtocol *protocol, const u_int16_t value, int *error)

Definition at line 117 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::write_u32)(struct _ThriftProtocol *protocol, const u_int32_t value, int *error)

Definition at line 119 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::write_u64)(struct _ThriftProtocol *protocol, const u_int64_t value, int *error)

Definition at line 121 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::write_uuid_t)(struct _ThriftProtocol *protocol, const ct_uuid_t value, int *error)

Definition at line 135 of file thrift_protocol.h.

int32_t(* _ThriftProtocol::write_xml)(struct _ThriftProtocol *protocol, const char *str, int *error)

Definition at line 133 of file thrift_protocol.h.


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