4 #ifndef PROTOBUF_C_WhisperTextProtocol_2eproto__INCLUDED 5 #define PROTOBUF_C_WhisperTextProtocol_2eproto__INCLUDED 9 PROTOBUF_C__BEGIN_DECLS
11 #if PROTOBUF_C_VERSION_NUMBER < 1000000 12 # error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. 13 #elif 1002001 < PROTOBUF_C_MIN_COMPILER_VERSION 14 # error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. 39 uint32_t previouscounter;
43 #define TEXTSECURE__SIGNAL_MESSAGE__INIT \ 44 { PROTOBUF_C_MESSAGE_INIT (&textsecure__signal_message__descriptor) \ 45 , 0,{0,NULL}, 0,0, 0,0, 0,{0,NULL} } 52 uint32_t registrationid;
56 uint32_t signedprekeyid;
67 #define TEXTSECURE__PRE_KEY_SIGNAL_MESSAGE__INIT \ 68 { PROTOBUF_C_MESSAGE_INIT (&textsecure__pre_key_signal_message__descriptor) \ 69 , 0,0, 0,0, 0,0, 0,{0,NULL}, 0,{0,NULL}, 0,{0,NULL} } 86 #define TEXTSECURE__KEY_EXCHANGE_MESSAGE__INIT \ 87 { PROTOBUF_C_MESSAGE_INIT (&textsecure__key_exchange_message__descriptor) \ 88 , 0,0, 0,{0,NULL}, 0,{0,NULL}, 0,{0,NULL}, 0,{0,NULL} } 101 #define TEXTSECURE__SENDER_KEY_MESSAGE__INIT \ 102 { PROTOBUF_C_MESSAGE_INIT (&textsecure__sender_key_message__descriptor) \ 103 , 0,0, 0,0, 0,{0,NULL} } 118 #define TEXTSECURE__SENDER_KEY_DISTRIBUTION_MESSAGE__INIT \ 119 { PROTOBUF_C_MESSAGE_INIT (&textsecure__sender_key_distribution_message__descriptor) \ 120 , 0,0, 0,0, 0,{0,NULL}, 0,{0,NULL} } 131 #define TEXTSECURE__DEVICE_CONSISTENCY_CODE_MESSAGE__INIT \ 132 { PROTOBUF_C_MESSAGE_INIT (&textsecure__device_consistency_code_message__descriptor) \ 137 void textsecure__signal_message__init
138 (Textsecure__SignalMessage *message);
139 size_t textsecure__signal_message__get_packed_size
140 (
const Textsecure__SignalMessage *message);
141 size_t textsecure__signal_message__pack
142 (
const Textsecure__SignalMessage *message,
144 size_t textsecure__signal_message__pack_to_buffer
145 (
const Textsecure__SignalMessage *message,
147 Textsecure__SignalMessage *
148 textsecure__signal_message__unpack
151 const uint8_t *data);
152 void textsecure__signal_message__free_unpacked
153 (Textsecure__SignalMessage *message,
156 void textsecure__pre_key_signal_message__init
158 size_t textsecure__pre_key_signal_message__get_packed_size
160 size_t textsecure__pre_key_signal_message__pack
163 size_t textsecure__pre_key_signal_message__pack_to_buffer
167 textsecure__pre_key_signal_message__unpack
170 const uint8_t *data);
171 void textsecure__pre_key_signal_message__free_unpacked
175 void textsecure__key_exchange_message__init
177 size_t textsecure__key_exchange_message__get_packed_size
179 size_t textsecure__key_exchange_message__pack
182 size_t textsecure__key_exchange_message__pack_to_buffer
186 textsecure__key_exchange_message__unpack
189 const uint8_t *data);
190 void textsecure__key_exchange_message__free_unpacked
194 void textsecure__sender_key_message__init
196 size_t textsecure__sender_key_message__get_packed_size
198 size_t textsecure__sender_key_message__pack
201 size_t textsecure__sender_key_message__pack_to_buffer
205 textsecure__sender_key_message__unpack
208 const uint8_t *data);
209 void textsecure__sender_key_message__free_unpacked
213 void textsecure__sender_key_distribution_message__init
215 size_t textsecure__sender_key_distribution_message__get_packed_size
217 size_t textsecure__sender_key_distribution_message__pack
220 size_t textsecure__sender_key_distribution_message__pack_to_buffer
224 textsecure__sender_key_distribution_message__unpack
227 const uint8_t *data);
228 void textsecure__sender_key_distribution_message__free_unpacked
232 void textsecure__device_consistency_code_message__init
234 size_t textsecure__device_consistency_code_message__get_packed_size
236 size_t textsecure__device_consistency_code_message__pack
239 size_t textsecure__device_consistency_code_message__pack_to_buffer
243 textsecure__device_consistency_code_message__unpack
246 const uint8_t *data);
247 void textsecure__device_consistency_code_message__free_unpacked
252 typedef void (*Textsecure__SignalMessage_Closure)
253 (
const Textsecure__SignalMessage *message,
255 typedef void (*Textsecure__PreKeySignalMessage_Closure)
258 typedef void (*Textsecure__KeyExchangeMessage_Closure)
261 typedef void (*Textsecure__SenderKeyMessage_Closure)
264 typedef void (*Textsecure__SenderKeyDistributionMessage_Closure)
267 typedef void (*Textsecure__DeviceConsistencyCodeMessage_Closure)
283 PROTOBUF_C__END_DECLS
Definition: WhisperTextProtocol.pb-c.h:72
Definition: protobuf-c.h:393
Definition: protobuf-c.h:375
Definition: protobuf-c.h:640
Definition: WhisperTextProtocol.pb-c.h:106
Definition: WhisperTextProtocol.pb-c.h:123
Definition: WhisperTextProtocol.pb-c.h:48
Definition: protobuf-c.h:652
Definition: WhisperTextProtocol.pb-c.h:31
Definition: protobuf-c.h:433
Definition: WhisperTextProtocol.pb-c.h:91
int protobuf_c_boolean
Definition: protobuf-c.h:366