CiFEr
gpsw.pb-c.h
1 /* Generated by the protocol buffer compiler. DO NOT EDIT! */
2 /* Generated from: gpsw.proto */
3 
4 #ifndef PROTOBUF_C_gpsw_2eproto__INCLUDED
5 #define PROTOBUF_C_gpsw_2eproto__INCLUDED
6 
7 #include <protobuf-c/protobuf-c.h>
8 
9 PROTOBUF_C__BEGIN_DECLS
10 
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 1003003 < 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.
15 #endif
16 
17 #include "data.pb-c.h"
18 
19 typedef struct _CfeGpswPubKeySer CfeGpswPubKeySer;
20 typedef struct _CfeGpswKeySer CfeGpswKeySer;
21 typedef struct _CfeGpswCipherSer CfeGpswCipherSer;
22 
23 
24 /* --- enums --- */
25 
26 
27 /* --- messages --- */
28 
30 {
31  ProtobufCMessage base;
32  VecOctetSer *t;
33  OctetSer *y;
34 };
35 #define CFE_GPSW_PUB_KEY_SER__INIT \
36  { PROTOBUF_C_MESSAGE_INIT (&cfe_gpsw_pub_key_ser__descriptor) \
37  , NULL, NULL }
38 
39 
41 {
42  ProtobufCMessage base;
43  VecOctetSer *d;
44  MspSer *msp;
45 };
46 #define CFE_GPSW_KEY_SER__INIT \
47  { PROTOBUF_C_MESSAGE_INIT (&cfe_gpsw_key_ser__descriptor) \
48  , NULL, NULL }
49 
50 
52 {
53  ProtobufCMessage base;
54  size_t n_gamma;
55  int64_t *gamma;
56  OctetSer *e0;
57  VecOctetSer *e;
58 };
59 #define CFE_GPSW_CIPHER_SER__INIT \
60  { PROTOBUF_C_MESSAGE_INIT (&cfe_gpsw_cipher_ser__descriptor) \
61  , 0,NULL, NULL, NULL }
62 
63 
64 /* CfeGpswPubKeySer methods */
65 void cfe_gpsw_pub_key_ser__init
66  (CfeGpswPubKeySer *message);
67 size_t cfe_gpsw_pub_key_ser__get_packed_size
68  (const CfeGpswPubKeySer *message);
69 size_t cfe_gpsw_pub_key_ser__pack
70  (const CfeGpswPubKeySer *message,
71  uint8_t *out);
72 size_t cfe_gpsw_pub_key_ser__pack_to_buffer
73  (const CfeGpswPubKeySer *message,
74  ProtobufCBuffer *buffer);
75 CfeGpswPubKeySer *
76  cfe_gpsw_pub_key_ser__unpack
77  (ProtobufCAllocator *allocator,
78  size_t len,
79  const uint8_t *data);
80 void cfe_gpsw_pub_key_ser__free_unpacked
81  (CfeGpswPubKeySer *message,
82  ProtobufCAllocator *allocator);
83 /* CfeGpswKeySer methods */
84 void cfe_gpsw_key_ser__init
85  (CfeGpswKeySer *message);
86 size_t cfe_gpsw_key_ser__get_packed_size
87  (const CfeGpswKeySer *message);
88 size_t cfe_gpsw_key_ser__pack
89  (const CfeGpswKeySer *message,
90  uint8_t *out);
91 size_t cfe_gpsw_key_ser__pack_to_buffer
92  (const CfeGpswKeySer *message,
93  ProtobufCBuffer *buffer);
95  cfe_gpsw_key_ser__unpack
96  (ProtobufCAllocator *allocator,
97  size_t len,
98  const uint8_t *data);
99 void cfe_gpsw_key_ser__free_unpacked
100  (CfeGpswKeySer *message,
101  ProtobufCAllocator *allocator);
102 /* CfeGpswCipherSer methods */
103 void cfe_gpsw_cipher_ser__init
104  (CfeGpswCipherSer *message);
105 size_t cfe_gpsw_cipher_ser__get_packed_size
106  (const CfeGpswCipherSer *message);
107 size_t cfe_gpsw_cipher_ser__pack
108  (const CfeGpswCipherSer *message,
109  uint8_t *out);
110 size_t cfe_gpsw_cipher_ser__pack_to_buffer
111  (const CfeGpswCipherSer *message,
112  ProtobufCBuffer *buffer);
114  cfe_gpsw_cipher_ser__unpack
115  (ProtobufCAllocator *allocator,
116  size_t len,
117  const uint8_t *data);
118 void cfe_gpsw_cipher_ser__free_unpacked
119  (CfeGpswCipherSer *message,
120  ProtobufCAllocator *allocator);
121 /* --- per-message closures --- */
122 
123 typedef void (*CfeGpswPubKeySer_Closure)
124  (const CfeGpswPubKeySer *message,
125  void *closure_data);
126 typedef void (*CfeGpswKeySer_Closure)
127  (const CfeGpswKeySer *message,
128  void *closure_data);
129 typedef void (*CfeGpswCipherSer_Closure)
130  (const CfeGpswCipherSer *message,
131  void *closure_data);
132 
133 /* --- services --- */
134 
135 
136 /* --- descriptors --- */
137 
138 extern const ProtobufCMessageDescriptor cfe_gpsw_pub_key_ser__descriptor;
139 extern const ProtobufCMessageDescriptor cfe_gpsw_key_ser__descriptor;
140 extern const ProtobufCMessageDescriptor cfe_gpsw_cipher_ser__descriptor;
141 
142 PROTOBUF_C__END_DECLS
143 
144 
145 #endif /* PROTOBUF_C_gpsw_2eproto__INCLUDED */
_CfeGpswCipherSer
Definition: gpsw.pb-c.h:51
_CfeGpswKeySer
Definition: gpsw.pb-c.h:40
_CfeGpswPubKeySer
Definition: gpsw.pb-c.h:29
_MspSer
Definition: data.pb-c.h:68
_OctetSer
Definition: data.pb-c.h:55
_VecOctetSer
Definition: data.pb-c.h:80