summaryrefslogtreecommitdiff
path: root/libs/libaxolotl/src/LocalStorageProtocol.pb-c.h
blob: 86e657e51a6b99277866795a535b5bd22098070c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
/* Generated by the protocol buffer compiler.  DO NOT EDIT! */
/* Generated from: LocalStorageProtocol.proto */

#ifndef PROTOBUF_C_LocalStorageProtocol_2eproto__INCLUDED
#define PROTOBUF_C_LocalStorageProtocol_2eproto__INCLUDED

#include "protobuf-c/protobuf-c.h"

PROTOBUF_C__BEGIN_DECLS

#if PROTOBUF_C_VERSION_NUMBER < 1000000
# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
#elif 1001001 < PROTOBUF_C_MIN_COMPILER_VERSION
# 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.
#endif


typedef struct _Textsecure__SessionStructure Textsecure__SessionStructure;
typedef struct _Textsecure__SessionStructure__Chain Textsecure__SessionStructure__Chain;
typedef struct _Textsecure__SessionStructure__Chain__ChainKey Textsecure__SessionStructure__Chain__ChainKey;
typedef struct _Textsecure__SessionStructure__Chain__MessageKey Textsecure__SessionStructure__Chain__MessageKey;
typedef struct _Textsecure__SessionStructure__PendingKeyExchange Textsecure__SessionStructure__PendingKeyExchange;
typedef struct _Textsecure__SessionStructure__PendingPreKey Textsecure__SessionStructure__PendingPreKey;
typedef struct _Textsecure__RecordStructure Textsecure__RecordStructure;
typedef struct _Textsecure__PreKeyRecordStructure Textsecure__PreKeyRecordStructure;
typedef struct _Textsecure__SignedPreKeyRecordStructure Textsecure__SignedPreKeyRecordStructure;
typedef struct _Textsecure__IdentityKeyPairStructure Textsecure__IdentityKeyPairStructure;
typedef struct _Textsecure__SenderKeyStateStructure Textsecure__SenderKeyStateStructure;
typedef struct _Textsecure__SenderKeyStateStructure__SenderChainKey Textsecure__SenderKeyStateStructure__SenderChainKey;
typedef struct _Textsecure__SenderKeyStateStructure__SenderMessageKey Textsecure__SenderKeyStateStructure__SenderMessageKey;
typedef struct _Textsecure__SenderKeyStateStructure__SenderSigningKey Textsecure__SenderKeyStateStructure__SenderSigningKey;
typedef struct _Textsecure__SenderKeyRecordStructure Textsecure__SenderKeyRecordStructure;


/* --- enums --- */


/* --- messages --- */

struct  _Textsecure__SessionStructure__Chain__ChainKey
{
  ProtobufCMessage base;
  protobuf_c_boolean has_index;
  uint32_t index;
  protobuf_c_boolean has_key;
  ProtobufCBinaryData key;
};
#define TEXTSECURE__SESSION_STRUCTURE__CHAIN__CHAIN_KEY__INIT \
 { PROTOBUF_C_MESSAGE_INIT (&textsecure__session_structure__chain__chain_key__descriptor) \
    , 0,0, 0,{0,NULL} }


struct  _Textsecure__SessionStructure__Chain__MessageKey
{
  ProtobufCMessage base;
  protobuf_c_boolean has_index;
  uint32_t index;
  protobuf_c_boolean has_cipherkey;
  ProtobufCBinaryData cipherkey;
  protobuf_c_boolean has_mackey;
  ProtobufCBinaryData mackey;
  protobuf_c_boolean has_iv;
  ProtobufCBinaryData iv;
};
#define TEXTSECURE__SESSION_STRUCTURE__CHAIN__MESSAGE_KEY__INIT \
 { PROTOBUF_C_MESSAGE_INIT (&textsecure__session_structure__chain__message_key__descriptor) \
    , 0,0, 0,{0,NULL}, 0,{0,NULL}, 0,{0,NULL} }


struct  _Textsecure__SessionStructure__Chain
{
  ProtobufCMessage base;
  protobuf_c_boolean has_senderratchetkey;
  ProtobufCBinaryData senderratchetkey;
  protobuf_c_boolean has_senderratchetkeyprivate;
  ProtobufCBinaryData senderratchetkeyprivate;
  Textsecure__SessionStructure__Chain__ChainKey *chainkey;
  size_t n_messagekeys;
  Textsecure__SessionStructure__Chain__MessageKey **messagekeys;
};
#define TEXTSECURE__SESSION_STRUCTURE__CHAIN__INIT \
 { PROTOBUF_C_MESSAGE_INIT (&textsecure__session_structure__chain__descriptor) \
    , 0,{0,NULL}, 0,{0,NULL}, NULL, 0,NULL }


struct  _Textsecure__SessionStructure__PendingKeyExchange
{
  ProtobufCMessage base;
  protobuf_c_boolean has_sequence;
  uint32_t sequence;
  protobuf_c_boolean has_localbasekey;
  ProtobufCBinaryData localbasekey;
  protobuf_c_boolean has_localbasekeyprivate;
  ProtobufCBinaryData localbasekeyprivate;
  protobuf_c_boolean has_localratchetkey;
  ProtobufCBinaryData localratchetkey;
  protobuf_c_boolean has_localratchetkeyprivate;
  ProtobufCBinaryData localratchetkeyprivate;
  protobuf_c_boolean has_localidentitykey;
  ProtobufCBinaryData localidentitykey;
  protobuf_c_boolean has_localidentitykeyprivate;
  ProtobufCBinaryData localidentitykeyprivate;
};
#define TEXTSECURE__SESSION_STRUCTURE__PENDING_KEY_EXCHANGE__INIT \
 { PROTOBUF_C_MESSAGE_INIT (&textsecure__session_structure__pending_key_exchange__descriptor) \
    , 0,0, 0,{0,NULL}, 0,{0,NULL}, 0,{0,NULL}, 0,{0,NULL}, 0,{0,NULL}, 0,{0,NULL} }


struct  _Textsecure__SessionStructure__PendingPreKey
{
  ProtobufCMessage base;
  protobuf_c_boolean has_prekeyid;
  uint32_t prekeyid;
  protobuf_c_boolean has_signedprekeyid;
  int32_t signedprekeyid;
  protobuf_c_boolean has_basekey;
  ProtobufCBinaryData basekey;
};
#define TEXTSECURE__SESSION_STRUCTURE__PENDING_PRE_KEY__INIT \
 { PROTOBUF_C_MESSAGE_INIT (&textsecure__session_structure__pending_pre_key__descriptor) \
    , 0,0, 0,0, 0,{0,NULL} }


struct  _Textsecure__SessionStructure
{
  ProtobufCMessage base;
  protobuf_c_boolean has_sessionversion;
  uint32_t sessionversion;
  protobuf_c_boolean has_localidentitypublic;
  ProtobufCBinaryData localidentitypublic;
  protobuf_c_boolean has_remoteidentitypublic;
  ProtobufCBinaryData remoteidentitypublic;
  protobuf_c_boolean has_rootkey;
  ProtobufCBinaryData rootkey;
  protobuf_c_boolean has_previouscounter;
  uint32_t previouscounter;
  Textsecure__SessionStructure__Chain *senderchain;
  size_t n_receiverchains;
  Textsecure__SessionStructure__Chain **receiverchains;
  Textsecure__SessionStructure__PendingKeyExchange *pendingkeyexchange;
  Textsecure__SessionStructure__PendingPreKey *pendingprekey;
  protobuf_c_boolean has_remoteregistrationid;
  uint32_t remoteregistrationid;
  protobuf_c_boolean has_localregistrationid;
  uint32_t localregistrationid;
  protobuf_c_boolean has_needsrefresh;
  protobuf_c_boolean needsrefresh;
  protobuf_c_boolean has_alicebasekey;
  ProtobufCBinaryData alicebasekey;
};
#define TEXTSECURE__SESSION_STRUCTURE__INIT \
 { PROTOBUF_C_MESSAGE_INIT (&textsecure__session_structure__descriptor) \
    , 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} }


struct  _Textsecure__RecordStructure
{
  ProtobufCMessage base;
  Textsecure__SessionStructure *currentsession;
  size_t n_previoussessions;
  Textsecure__SessionStructure **previoussessions;
};
#define TEXTSECURE__RECORD_STRUCTURE__INIT \
 { PROTOBUF_C_MESSAGE_INIT (&textsecure__record_structure__descriptor) \
    , NULL, 0,NULL }


struct  _Textsecure__PreKeyRecordStructure
{
  ProtobufCMessage base;
  protobuf_c_boolean has_id;
  uint32_t id;
  protobuf_c_boolean has_publickey;
  ProtobufCBinaryData publickey;
  protobuf_c_boolean has_privatekey;
  ProtobufCBinaryData privatekey;
};
#define TEXTSECURE__PRE_KEY_RECORD_STRUCTURE__INIT \
 { PROTOBUF_C_MESSAGE_INIT (&textsecure__pre_key_record_structure__descriptor) \
    , 0,0, 0,{0,NULL}, 0,{0,NULL} }


struct  _Textsecure__SignedPreKeyRecordStructure
{
  ProtobufCMessage base;
  protobuf_c_boolean has_id;
  uint32_t id;
  protobuf_c_boolean has_publickey;
  ProtobufCBinaryData publickey;
  protobuf_c_boolean has_privatekey;
  ProtobufCBinaryData privatekey;
  protobuf_c_boolean has_signature;
  ProtobufCBinaryData signature;
  protobuf_c_boolean has_timestamp;
  uint64_t timestamp;
};
#define TEXTSECURE__SIGNED_PRE_KEY_RECORD_STRUCTURE__INIT \
 { PROTOBUF_C_MESSAGE_INIT (&textsecure__signed_pre_key_record_structure__descriptor) \
    , 0,0, 0,{0,NULL}, 0,{0,NULL}, 0,{0,NULL}, 0,0 }


struct  _Textsecure__IdentityKeyPairStructure
{
  ProtobufCMessage base;
  protobuf_c_boolean has_publickey;
  ProtobufCBinaryData publickey;
  protobuf_c_boolean has_privatekey;
  ProtobufCBinaryData privatekey;
};
#define TEXTSECURE__IDENTITY_KEY_PAIR_STRUCTURE__INIT \
 { PROTOBUF_C_MESSAGE_INIT (&textsecure__identity_key_pair_structure__descriptor) \
    , 0,{0,NULL}, 0,{0,NULL} }


struct  _Textsecure__SenderKeyStateStructure__SenderChainKey
{
  ProtobufCMessage base;
  protobuf_c_boolean has_iteration;
  uint32_t iteration;
  protobuf_c_boolean has_seed;
  ProtobufCBinaryData seed;
};
#define TEXTSECURE__SENDER_KEY_STATE_STRUCTURE__SENDER_CHAIN_KEY__INIT \
 { PROTOBUF_C_MESSAGE_INIT (&textsecure__sender_key_state_structure__sender_chain_key__descriptor) \
    , 0,0, 0,{0,NULL} }


struct  _Textsecure__SenderKeyStateStructure__SenderMessageKey
{
  ProtobufCMessage base;
  protobuf_c_boolean has_iteration;
  uint32_t iteration;
  protobuf_c_boolean has_seed;
  ProtobufCBinaryData seed;
};
#define TEXTSECURE__SENDER_KEY_STATE_STRUCTURE__SENDER_MESSAGE_KEY__INIT \
 { PROTOBUF_C_MESSAGE_INIT (&textsecure__sender_key_state_structure__sender_message_key__descriptor) \
    , 0,0, 0,{0,NULL} }


struct  _Textsecure__SenderKeyStateStructure__SenderSigningKey
{
  ProtobufCMessage base;
  protobuf_c_boolean has_public_;
  ProtobufCBinaryData public_;
  protobuf_c_boolean has_private_;
  ProtobufCBinaryData private_;
};
#define TEXTSECURE__SENDER_KEY_STATE_STRUCTURE__SENDER_SIGNING_KEY__INIT \
 { PROTOBUF_C_MESSAGE_INIT (&textsecure__sender_key_state_structure__sender_signing_key__descriptor) \
    , 0,{0,NULL}, 0,{0,NULL} }


struct  _Textsecure__SenderKeyStateStructure
{
  ProtobufCMessage base;
  protobuf_c_boolean has_senderkeyid;
  uint32_t senderkeyid;
  Textsecure__SenderKeyStateStructure__SenderChainKey *senderchainkey;
  Textsecure__SenderKeyStateStructure__SenderSigningKey *sendersigningkey;
  size_t n_sendermessagekeys;
  Textsecure__SenderKeyStateStructure__SenderMessageKey **sendermessagekeys;
};
#define TEXTSECURE__SENDER_KEY_STATE_STRUCTURE__INIT \
 { PROTOBUF_C_MESSAGE_INIT (&textsecure__sender_key_state_structure__descriptor) \
    , 0,0, NULL, NULL, 0,NULL }


struct  _Textsecure__SenderKeyRecordStructure
{
  ProtobufCMessage base;
  size_t n_senderkeystates;
  Textsecure__SenderKeyStateStructure **senderkeystates;
};
#define TEXTSECURE__SENDER_KEY_RECORD_STRUCTURE__INIT \
 { PROTOBUF_C_MESSAGE_INIT (&textsecure__sender_key_record_structure__descriptor) \
    , 0,NULL }


/* Textsecure__SessionStructure__Chain__ChainKey methods */
void   textsecure__session_structure__chain__chain_key__init
                     (Textsecure__SessionStructure__Chain__ChainKey         *message);
/* Textsecure__SessionStructure__Chain__MessageKey methods */
void   textsecure__session_structure__chain__message_key__init
                     (Textsecure__SessionStructure__Chain__MessageKey         *message);
/* Textsecure__SessionStructure__Chain methods */
void   textsecure__session_structure__chain__init
                     (Textsecure__SessionStructure__Chain         *message);
/* Textsecure__SessionStructure__PendingKeyExchange methods */
void   textsecure__session_structure__pending_key_exchange__init
                     (Textsecure__SessionStructure__PendingKeyExchange         *message);
/* Textsecure__SessionStructure__PendingPreKey methods */
void   textsecure__session_structure__pending_pre_key__init
                     (Textsecure__SessionStructure__PendingPreKey         *message);
/* Textsecure__SessionStructure methods */
void   textsecure__session_structure__init
                     (Textsecure__SessionStructure         *message);
size_t textsecure__session_structure__get_packed_size
                     (const Textsecure__SessionStructure   *message);
size_t textsecure__session_structure__pack
                     (const Textsecure__SessionStructure   *message,
                      uint8_t             *out);
size_t textsecure__session_structure__pack_to_buffer
                     (const Textsecure__SessionStructure   *message,
                      ProtobufCBuffer     *buffer);
Textsecure__SessionStructure *
       textsecure__session_structure__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data);
void   textsecure__session_structure__free_unpacked
                     (Textsecure__SessionStructure *message,
                      ProtobufCAllocator *allocator);
/* Textsecure__RecordStructure methods */
void   textsecure__record_structure__init
                     (Textsecure__RecordStructure         *message);
size_t textsecure__record_structure__get_packed_size
                     (const Textsecure__RecordStructure   *message);
size_t textsecure__record_structure__pack
                     (const Textsecure__RecordStructure   *message,
                      uint8_t             *out);
size_t textsecure__record_structure__pack_to_buffer
                     (const Textsecure__RecordStructure   *message,
                      ProtobufCBuffer     *buffer);
Textsecure__RecordStructure *
       textsecure__record_structure__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data);
void   textsecure__record_structure__free_unpacked
                     (Textsecure__RecordStructure *message,
                      ProtobufCAllocator *allocator);
/* Textsecure__PreKeyRecordStructure methods */
void   textsecure__pre_key_record_structure__init
                     (Textsecure__PreKeyRecordStructure         *message);
size_t textsecure__pre_key_record_structure__get_packed_size
                     (const Textsecure__PreKeyRecordStructure   *message);
size_t textsecure__pre_key_record_structure__pack
                     (const Textsecure__PreKeyRecordStructure   *message,
                      uint8_t             *out);
size_t textsecure__pre_key_record_structure__pack_to_buffer
                     (const Textsecure__PreKeyRecordStructure   *message,
                      ProtobufCBuffer     *buffer);
Textsecure__PreKeyRecordStructure *
       textsecure__pre_key_record_structure__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data);
void   textsecure__pre_key_record_structure__free_unpacked
                     (Textsecure__PreKeyRecordStructure *message,
                      ProtobufCAllocator *allocator);
/* Textsecure__SignedPreKeyRecordStructure methods */
void   textsecure__signed_pre_key_record_structure__init
                     (Textsecure__SignedPreKeyRecordStructure         *message);
size_t textsecure__signed_pre_key_record_structure__get_packed_size
                     (const Textsecure__SignedPreKeyRecordStructure   *message);
size_t textsecure__signed_pre_key_record_structure__pack
                     (const Textsecure__SignedPreKeyRecordStructure   *message,
                      uint8_t             *out);
size_t textsecure__signed_pre_key_record_structure__pack_to_buffer
                     (const Textsecure__SignedPreKeyRecordStructure   *message,
                      ProtobufCBuffer     *buffer);
Textsecure__SignedPreKeyRecordStructure *
       textsecure__signed_pre_key_record_structure__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data);
void   textsecure__signed_pre_key_record_structure__free_unpacked
                     (Textsecure__SignedPreKeyRecordStructure *message,
                      ProtobufCAllocator *allocator);
/* Textsecure__IdentityKeyPairStructure methods */
void   textsecure__identity_key_pair_structure__init
                     (Textsecure__IdentityKeyPairStructure         *message);
size_t textsecure__identity_key_pair_structure__get_packed_size
                     (const Textsecure__IdentityKeyPairStructure   *message);
size_t textsecure__identity_key_pair_structure__pack
                     (const Textsecure__IdentityKeyPairStructure   *message,
                      uint8_t             *out);
size_t textsecure__identity_key_pair_structure__pack_to_buffer
                     (const Textsecure__IdentityKeyPairStructure   *message,
                      ProtobufCBuffer     *buffer);
Textsecure__IdentityKeyPairStructure *
       textsecure__identity_key_pair_structure__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data);
void   textsecure__identity_key_pair_structure__free_unpacked
                     (Textsecure__IdentityKeyPairStructure *message,
                      ProtobufCAllocator *allocator);
/* Textsecure__SenderKeyStateStructure__SenderChainKey methods */
void   textsecure__sender_key_state_structure__sender_chain_key__init
                     (Textsecure__SenderKeyStateStructure__SenderChainKey         *message);
/* Textsecure__SenderKeyStateStructure__SenderMessageKey methods */
void   textsecure__sender_key_state_structure__sender_message_key__init
                     (Textsecure__SenderKeyStateStructure__SenderMessageKey         *message);
/* Textsecure__SenderKeyStateStructure__SenderSigningKey methods */
void   textsecure__sender_key_state_structure__sender_signing_key__init
                     (Textsecure__SenderKeyStateStructure__SenderSigningKey         *message);
/* Textsecure__SenderKeyStateStructure methods */
void   textsecure__sender_key_state_structure__init
                     (Textsecure__SenderKeyStateStructure         *message);
size_t textsecure__sender_key_state_structure__get_packed_size
                     (const Textsecure__SenderKeyStateStructure   *message);
size_t textsecure__sender_key_state_structure__pack
                     (const Textsecure__SenderKeyStateStructure   *message,
                      uint8_t             *out);
size_t textsecure__sender_key_state_structure__pack_to_buffer
                     (const Textsecure__SenderKeyStateStructure   *message,
                      ProtobufCBuffer     *buffer);
Textsecure__SenderKeyStateStructure *
       textsecure__sender_key_state_structure__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data);
void   textsecure__sender_key_state_structure__free_unpacked
                     (Textsecure__SenderKeyStateStructure *message,
                      ProtobufCAllocator *allocator);
/* Textsecure__SenderKeyRecordStructure methods */
void   textsecure__sender_key_record_structure__init
                     (Textsecure__SenderKeyRecordStructure         *message);
size_t textsecure__sender_key_record_structure__get_packed_size
                     (const Textsecure__SenderKeyRecordStructure   *message);
size_t textsecure__sender_key_record_structure__pack
                     (const Textsecure__SenderKeyRecordStructure   *message,
                      uint8_t             *out);
size_t textsecure__sender_key_record_structure__pack_to_buffer
                     (const Textsecure__SenderKeyRecordStructure   *message,
                      ProtobufCBuffer     *buffer);
Textsecure__SenderKeyRecordStructure *
       textsecure__sender_key_record_structure__unpack
                     (ProtobufCAllocator  *allocator,
                      size_t               len,
                      const uint8_t       *data);
void   textsecure__sender_key_record_structure__free_unpacked
                     (Textsecure__SenderKeyRecordStructure *message,
                      ProtobufCAllocator *allocator);
/* --- per-message closures --- */

typedef void (*Textsecure__SessionStructure__Chain__ChainKey_Closure)
                 (const Textsecure__SessionStructure__Chain__ChainKey *message,
                  void *closure_data);
typedef void (*Textsecure__SessionStructure__Chain__MessageKey_Closure)
                 (const Textsecure__SessionStructure__Chain__MessageKey *message,
                  void *closure_data);
typedef void (*Textsecure__SessionStructure__Chain_Closure)
                 (const Textsecure__SessionStructure__Chain *message,
                  void *closure_data);
typedef void (*Textsecure__SessionStructure__PendingKeyExchange_Closure)
                 (const Textsecure__SessionStructure__PendingKeyExchange *message,
                  void *closure_data);
typedef void (*Textsecure__SessionStructure__PendingPreKey_Closure)
                 (const Textsecure__SessionStructure__PendingPreKey *message,
                  void *closure_data);
typedef void (*Textsecure__SessionStructure_Closure)
                 (const Textsecure__SessionStructure *message,
                  void *closure_data);
typedef void (*Textsecure__RecordStructure_Closure)
                 (const Textsecure__RecordStructure *message,
                  void *closure_data);
typedef void (*Textsecure__PreKeyRecordStructure_Closure)
                 (const Textsecure__PreKeyRecordStructure *message,
                  void *closure_data);
typedef void (*Textsecure__SignedPreKeyRecordStructure_Closure)
                 (const Textsecure__SignedPreKeyRecordStructure *message,
                  void *closure_data);
typedef void (*Textsecure__IdentityKeyPairStructure_Closure)
                 (const Textsecure__IdentityKeyPairStructure *message,
                  void *closure_data);
typedef void (*Textsecure__SenderKeyStateStructure__SenderChainKey_Closure)
                 (const Textsecure__SenderKeyStateStructure__SenderChainKey *message,
                  void *closure_data);
typedef void (*Textsecure__SenderKeyStateStructure__SenderMessageKey_Closure)
                 (const Textsecure__SenderKeyStateStructure__SenderMessageKey *message,
                  void *closure_data);
typedef void (*Textsecure__SenderKeyStateStructure__SenderSigningKey_Closure)
                 (const Textsecure__SenderKeyStateStructure__SenderSigningKey *message,
                  void *closure_data);
typedef void (*Textsecure__SenderKeyStateStructure_Closure)
                 (const Textsecure__SenderKeyStateStructure *message,
                  void *closure_data);
typedef void (*Textsecure__SenderKeyRecordStructure_Closure)
                 (const Textsecure__SenderKeyRecordStructure *message,
                  void *closure_data);

/* --- services --- */


/* --- descriptors --- */

extern const ProtobufCMessageDescriptor textsecure__session_structure__descriptor;
extern const ProtobufCMessageDescriptor textsecure__session_structure__chain__descriptor;
extern const ProtobufCMessageDescriptor textsecure__session_structure__chain__chain_key__descriptor;
extern const ProtobufCMessageDescriptor textsecure__session_structure__chain__message_key__descriptor;
extern const ProtobufCMessageDescriptor textsecure__session_structure__pending_key_exchange__descriptor;
extern const ProtobufCMessageDescriptor textsecure__session_structure__pending_pre_key__descriptor;
extern const ProtobufCMessageDescriptor textsecure__record_structure__descriptor;
extern const ProtobufCMessageDescriptor textsecure__pre_key_record_structure__descriptor;
extern const ProtobufCMessageDescriptor textsecure__signed_pre_key_record_structure__descriptor;
extern const ProtobufCMessageDescriptor textsecure__identity_key_pair_structure__descriptor;
extern const ProtobufCMessageDescriptor textsecure__sender_key_state_structure__descriptor;
extern const ProtobufCMessageDescriptor textsecure__sender_key_state_structure__sender_chain_key__descriptor;
extern const ProtobufCMessageDescriptor textsecure__sender_key_state_structure__sender_message_key__descriptor;
extern const ProtobufCMessageDescriptor textsecure__sender_key_state_structure__sender_signing_key__descriptor;
extern const ProtobufCMessageDescriptor textsecure__sender_key_record_structure__descriptor;

PROTOBUF_C__END_DECLS


#endif  /* PROTOBUF_C_LocalStorageProtocol_2eproto__INCLUDED */