4 #ifndef PROTOBUF_C_LocalStorageProtocol_2eproto__INCLUDED 5 #define PROTOBUF_C_LocalStorageProtocol_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. 48 #define TEXTSECURE__SESSION_STRUCTURE__CHAIN__CHAIN_KEY__INIT \ 49 { PROTOBUF_C_MESSAGE_INIT (&textsecure__session_structure__chain__chain_key__descriptor) \ 65 #define TEXTSECURE__SESSION_STRUCTURE__CHAIN__MESSAGE_KEY__INIT \ 66 { PROTOBUF_C_MESSAGE_INIT (&textsecure__session_structure__chain__message_key__descriptor) \ 67 , 0,0, 0,{0,NULL}, 0,{0,NULL}, 0,{0,NULL} } 81 #define TEXTSECURE__SESSION_STRUCTURE__CHAIN__INIT \ 82 { PROTOBUF_C_MESSAGE_INIT (&textsecure__session_structure__chain__descriptor) \ 83 , 0,{0,NULL}, 0,{0,NULL}, NULL, 0,NULL } 104 #define TEXTSECURE__SESSION_STRUCTURE__PENDING_KEY_EXCHANGE__INIT \ 105 { PROTOBUF_C_MESSAGE_INIT (&textsecure__session_structure__pending_key_exchange__descriptor) \ 106 , 0,0, 0,{0,NULL}, 0,{0,NULL}, 0,{0,NULL}, 0,{0,NULL}, 0,{0,NULL}, 0,{0,NULL} } 115 int32_t signedprekeyid;
119 #define TEXTSECURE__SESSION_STRUCTURE__PENDING_PRE_KEY__INIT \ 120 { PROTOBUF_C_MESSAGE_INIT (&textsecure__session_structure__pending_pre_key__descriptor) \ 121 , 0,0, 0,0, 0,{0,NULL} } 128 uint32_t sessionversion;
136 uint32_t previouscounter;
138 size_t n_receiverchains;
143 uint32_t remoteregistrationid;
145 uint32_t localregistrationid;
151 #define TEXTSECURE__SESSION_STRUCTURE__INIT \ 152 { PROTOBUF_C_MESSAGE_INIT (&textsecure__session_structure__descriptor) \ 153 , 0,0, 0,{0,NULL}, 0,{0,NULL}, 0,{0,NULL}, 0,0, NULL, 0,NULL, NULL, NULL, 0,0, 0,0, 0,0, 0,{0,NULL} } 159 Textsecure__SessionStructure *currentsession;
160 size_t n_previoussessions;
161 Textsecure__SessionStructure **previoussessions;
163 #define TEXTSECURE__RECORD_STRUCTURE__INIT \ 164 { PROTOBUF_C_MESSAGE_INIT (&textsecure__record_structure__descriptor) \ 178 #define TEXTSECURE__PRE_KEY_RECORD_STRUCTURE__INIT \ 179 { PROTOBUF_C_MESSAGE_INIT (&textsecure__pre_key_record_structure__descriptor) \ 180 , 0,0, 0,{0,NULL}, 0,{0,NULL} } 197 #define TEXTSECURE__SIGNED_PRE_KEY_RECORD_STRUCTURE__INIT \ 198 { PROTOBUF_C_MESSAGE_INIT (&textsecure__signed_pre_key_record_structure__descriptor) \ 199 , 0,0, 0,{0,NULL}, 0,{0,NULL}, 0,{0,NULL}, 0,0 } 210 #define TEXTSECURE__IDENTITY_KEY_PAIR_STRUCTURE__INIT \ 211 { PROTOBUF_C_MESSAGE_INIT (&textsecure__identity_key_pair_structure__descriptor) \ 212 , 0,{0,NULL}, 0,{0,NULL} } 223 #define TEXTSECURE__SENDER_KEY_STATE_STRUCTURE__SENDER_CHAIN_KEY__INIT \ 224 { PROTOBUF_C_MESSAGE_INIT (&textsecure__sender_key_state_structure__sender_chain_key__descriptor) \ 236 #define TEXTSECURE__SENDER_KEY_STATE_STRUCTURE__SENDER_MESSAGE_KEY__INIT \ 237 { PROTOBUF_C_MESSAGE_INIT (&textsecure__sender_key_state_structure__sender_message_key__descriptor) \ 249 #define TEXTSECURE__SENDER_KEY_STATE_STRUCTURE__SENDER_SIGNING_KEY__INIT \ 250 { PROTOBUF_C_MESSAGE_INIT (&textsecure__sender_key_state_structure__sender_signing_key__descriptor) \ 251 , 0,{0,NULL}, 0,{0,NULL} } 258 uint32_t senderkeyid;
261 size_t n_sendermessagekeys;
264 #define TEXTSECURE__SENDER_KEY_STATE_STRUCTURE__INIT \ 265 { PROTOBUF_C_MESSAGE_INIT (&textsecure__sender_key_state_structure__descriptor) \ 266 , 0,0, NULL, NULL, 0,NULL } 272 size_t n_senderkeystates;
275 #define TEXTSECURE__SENDER_KEY_RECORD_STRUCTURE__INIT \ 276 { PROTOBUF_C_MESSAGE_INIT (&textsecure__sender_key_record_structure__descriptor) \ 281 void textsecure__session_structure__chain__chain_key__init
284 void textsecure__session_structure__chain__message_key__init
287 void textsecure__session_structure__chain__init
290 void textsecure__session_structure__pending_key_exchange__init
293 void textsecure__session_structure__pending_pre_key__init
296 void textsecure__session_structure__init
297 (Textsecure__SessionStructure *message);
298 size_t textsecure__session_structure__get_packed_size
299 (
const Textsecure__SessionStructure *message);
300 size_t textsecure__session_structure__pack
301 (
const Textsecure__SessionStructure *message,
303 size_t textsecure__session_structure__pack_to_buffer
304 (
const Textsecure__SessionStructure *message,
306 Textsecure__SessionStructure *
307 textsecure__session_structure__unpack
310 const uint8_t *data);
311 void textsecure__session_structure__free_unpacked
312 (Textsecure__SessionStructure *message,
315 void textsecure__record_structure__init
317 size_t textsecure__record_structure__get_packed_size
319 size_t textsecure__record_structure__pack
322 size_t textsecure__record_structure__pack_to_buffer
326 textsecure__record_structure__unpack
329 const uint8_t *data);
330 void textsecure__record_structure__free_unpacked
334 void textsecure__pre_key_record_structure__init
336 size_t textsecure__pre_key_record_structure__get_packed_size
338 size_t textsecure__pre_key_record_structure__pack
341 size_t textsecure__pre_key_record_structure__pack_to_buffer
345 textsecure__pre_key_record_structure__unpack
348 const uint8_t *data);
349 void textsecure__pre_key_record_structure__free_unpacked
353 void textsecure__signed_pre_key_record_structure__init
355 size_t textsecure__signed_pre_key_record_structure__get_packed_size
357 size_t textsecure__signed_pre_key_record_structure__pack
360 size_t textsecure__signed_pre_key_record_structure__pack_to_buffer
364 textsecure__signed_pre_key_record_structure__unpack
367 const uint8_t *data);
368 void textsecure__signed_pre_key_record_structure__free_unpacked
372 void textsecure__identity_key_pair_structure__init
374 size_t textsecure__identity_key_pair_structure__get_packed_size
376 size_t textsecure__identity_key_pair_structure__pack
379 size_t textsecure__identity_key_pair_structure__pack_to_buffer
383 textsecure__identity_key_pair_structure__unpack
386 const uint8_t *data);
387 void textsecure__identity_key_pair_structure__free_unpacked
391 void textsecure__sender_key_state_structure__sender_chain_key__init
394 void textsecure__sender_key_state_structure__sender_message_key__init
397 void textsecure__sender_key_state_structure__sender_signing_key__init
400 void textsecure__sender_key_state_structure__init
402 size_t textsecure__sender_key_state_structure__get_packed_size
404 size_t textsecure__sender_key_state_structure__pack
407 size_t textsecure__sender_key_state_structure__pack_to_buffer
411 textsecure__sender_key_state_structure__unpack
414 const uint8_t *data);
415 void textsecure__sender_key_state_structure__free_unpacked
419 void textsecure__sender_key_record_structure__init
421 size_t textsecure__sender_key_record_structure__get_packed_size
423 size_t textsecure__sender_key_record_structure__pack
426 size_t textsecure__sender_key_record_structure__pack_to_buffer
430 textsecure__sender_key_record_structure__unpack
433 const uint8_t *data);
434 void textsecure__sender_key_record_structure__free_unpacked
439 typedef void (*Textsecure__SessionStructure__Chain__ChainKey_Closure)
442 typedef void (*Textsecure__SessionStructure__Chain__MessageKey_Closure)
445 typedef void (*Textsecure__SessionStructure__Chain_Closure)
448 typedef void (*Textsecure__SessionStructure__PendingKeyExchange_Closure)
451 typedef void (*Textsecure__SessionStructure__PendingPreKey_Closure)
454 typedef void (*Textsecure__SessionStructure_Closure)
455 (
const Textsecure__SessionStructure *message,
457 typedef void (*Textsecure__RecordStructure_Closure)
460 typedef void (*Textsecure__PreKeyRecordStructure_Closure)
463 typedef void (*Textsecure__SignedPreKeyRecordStructure_Closure)
466 typedef void (*Textsecure__IdentityKeyPairStructure_Closure)
469 typedef void (*Textsecure__SenderKeyStateStructure__SenderChainKey_Closure)
472 typedef void (*Textsecure__SenderKeyStateStructure__SenderMessageKey_Closure)
475 typedef void (*Textsecure__SenderKeyStateStructure__SenderSigningKey_Closure)
478 typedef void (*Textsecure__SenderKeyStateStructure_Closure)
481 typedef void (*Textsecure__SenderKeyRecordStructure_Closure)
506 PROTOBUF_C__END_DECLS
Definition: LocalStorageProtocol.pb-c.h:53
Definition: protobuf-c.h:393
Definition: LocalStorageProtocol.pb-c.h:183
Definition: LocalStorageProtocol.pb-c.h:228
Definition: LocalStorageProtocol.pb-c.h:202
Definition: LocalStorageProtocol.pb-c.h:168
Definition: protobuf-c.h:375
Definition: LocalStorageProtocol.pb-c.h:215
Definition: protobuf-c.h:640
Definition: LocalStorageProtocol.pb-c.h:86
Definition: LocalStorageProtocol.pb-c.h:109
Definition: LocalStorageProtocol.pb-c.h:156
Definition: protobuf-c.h:652
Definition: LocalStorageProtocol.pb-c.h:124
Definition: LocalStorageProtocol.pb-c.h:269
Definition: LocalStorageProtocol.pb-c.h:241
Definition: LocalStorageProtocol.pb-c.h:254
Definition: LocalStorageProtocol.pb-c.h:40
Definition: protobuf-c.h:433
Definition: LocalStorageProtocol.pb-c.h:70
int protobuf_c_boolean
Definition: protobuf-c.h:366