1 /* Generated by the protocol buffer compiler.  DO NOT EDIT! */
2 /* Generated from: ipc.proto */
3 
4 #ifndef PROTOBUF_C_ipc_2eproto__INCLUDED
5 #define PROTOBUF_C_ipc_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 
18 typedef struct _AuthCookieRequestMsg AuthCookieRequestMsg;
19 typedef struct _FwPortSt FwPortSt;
20 typedef struct _GroupCfgSt GroupCfgSt;
21 typedef struct _AuthCookieReplyMsg AuthCookieReplyMsg;
22 typedef struct _SessionResumeFetchMsg SessionResumeFetchMsg;
23 typedef struct _SessionResumeStoreReqMsg SessionResumeStoreReqMsg;
24 typedef struct _SessionResumeReplyMsg SessionResumeReplyMsg;
25 typedef struct _TunMtuMsg TunMtuMsg;
26 typedef struct _CliStatsMsg CliStatsMsg;
27 typedef struct _UdpFdMsg UdpFdMsg;
28 typedef struct _SnapshotEntryMsg SnapshotEntryMsg;
29 typedef struct _WorkerStartupMsg WorkerStartupMsg;
30 typedef struct _SessionInfoMsg SessionInfoMsg;
31 typedef struct _BanIpMsg BanIpMsg;
32 typedef struct _BanIpReplyMsg BanIpReplyMsg;
33 typedef struct _LatencyStatsDelta LatencyStatsDelta;
34 typedef struct _SecAuthInitMsg SecAuthInitMsg;
35 typedef struct _SecAuthContMsg SecAuthContMsg;
36 typedef struct _SecAuthReplyMsg SecAuthReplyMsg;
37 typedef struct _SecOpMsg SecOpMsg;
38 typedef struct _SecGetPkMsg SecGetPkMsg;
39 typedef struct _SecmSessionOpenMsg SecmSessionOpenMsg;
40 typedef struct _SecmSessionCloseMsg SecmSessionCloseMsg;
41 typedef struct _SecmStatsMsg SecmStatsMsg;
42 typedef struct _SecmSessionReplyMsg SecmSessionReplyMsg;
43 typedef struct _CookieIntMsg CookieIntMsg;
44 typedef struct _SecmListCookiesReplyMsg SecmListCookiesReplyMsg;
45 typedef struct _SnapshotStateMsg SnapshotStateMsg;
46 
47 
48 /* --- enums --- */
49 
50 typedef enum _SessionResumeReplyMsg__RESUMEREP {
51   SESSION_RESUME_REPLY_MSG__RESUME__REP__OK = 1,
52   SESSION_RESUME_REPLY_MSG__RESUME__REP__FAILED = 2
53     PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(SESSION_RESUME_REPLY_MSG__RESUME__REP)
54 } SessionResumeReplyMsg__RESUMEREP;
55 typedef enum _WorkerStartupMsg__CONNTYPE {
56   WORKER_STARTUP_MSG__CONN__TYPE__TCP = 0,
57   WORKER_STARTUP_MSG__CONN__TYPE__UDP = 1,
58   WORKER_STARTUP_MSG__CONN__TYPE__UNIX = 2
59     PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(WORKER_STARTUP_MSG__CONN__TYPE)
60 } WorkerStartupMsg__CONNTYPE;
61 typedef enum _AUTHREP {
62   AUTH__REP__OK = 1,
63   AUTH__REP__MSG = 2,
64   AUTH__REP__FAILED = 3
65     PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(AUTH__REP)
66 } AUTHREP;
67 
68 /* --- messages --- */
69 
70 /*
71  * AUTH_COOKIE_REQ
72  */
73 struct  _AuthCookieRequestMsg
74 {
75   ProtobufCMessage base;
76   ProtobufCBinaryData cookie;
77   char *hostname;
78 };
79 #define AUTH_COOKIE_REQUEST_MSG__INIT \
80  { PROTOBUF_C_MESSAGE_INIT (&auth_cookie_request_msg__descriptor) \
81     , {0,NULL}, NULL }
82 
83 
84 struct  _FwPortSt
85 {
86   ProtobufCMessage base;
87   uint32_t port;
88   /*
89    * fw_proto_t
90    */
91   uint32_t proto;
92   /*
93    * negative rule, i.e., if non zero reject this port
94    */
95   uint32_t negate;
96 };
97 #define FW_PORT_ST__INIT \
98  { PROTOBUF_C_MESSAGE_INIT (&fw_port_st__descriptor) \
99     , 0, 0, 0 }
100 
101 
102 /*
103  * This is a structure for per-user/group supplemental configuration.
104  */
105 struct  _GroupCfgSt
106 {
107   ProtobufCMessage base;
108   /*
109    * sup - config, to add values, ensure we
110    * apply a reasonable default in apply_default_config()
111    */
112   protobuf_c_boolean has_interim_update_secs;
113   uint32_t interim_update_secs;
114   protobuf_c_boolean has_session_timeout_secs;
115   uint32_t session_timeout_secs;
116   protobuf_c_boolean has_no_udp;
117   protobuf_c_boolean no_udp;
118   protobuf_c_boolean has_deny_roaming;
119   protobuf_c_boolean deny_roaming;
120   size_t n_routes;
121   char **routes;
122   size_t n_iroutes;
123   char **iroutes;
124   size_t n_dns;
125   char **dns;
126   size_t n_nbns;
127   char **nbns;
128   char *ipv4_net;
129   char *ipv4_netmask;
130   char *ipv6_net;
131   protobuf_c_boolean has_ipv6_prefix;
132   uint32_t ipv6_prefix;
133   char *cgroup;
134   char *xml_config_file;
135   protobuf_c_boolean has_rx_per_sec;
136   uint32_t rx_per_sec;
137   protobuf_c_boolean has_tx_per_sec;
138   uint32_t tx_per_sec;
139   protobuf_c_boolean has_net_priority;
140   uint32_t net_priority;
141   char *explicit_ipv4;
142   char *explicit_ipv6;
143   size_t n_no_routes;
144   char **no_routes;
145   protobuf_c_boolean has_ipv6_subnet_prefix;
146   uint32_t ipv6_subnet_prefix;
147   protobuf_c_boolean has_dpd;
148   uint32_t dpd;
149   protobuf_c_boolean has_mobile_dpd;
150   uint32_t mobile_dpd;
151   protobuf_c_boolean has_keepalive;
152   uint32_t keepalive;
153   protobuf_c_boolean has_max_same_clients;
154   uint32_t max_same_clients;
155   protobuf_c_boolean has_tunnel_all_dns;
156   uint32_t tunnel_all_dns;
157   protobuf_c_boolean has_restrict_user_to_routes;
158   protobuf_c_boolean restrict_user_to_routes;
159   protobuf_c_boolean has_mtu;
160   uint32_t mtu;
161   protobuf_c_boolean has_idle_timeout;
162   uint32_t idle_timeout;
163   protobuf_c_boolean has_mobile_idle_timeout;
164   uint32_t mobile_idle_timeout;
165   size_t n_fw_ports;
166   FwPortSt **fw_ports;
167   char *hostname;
168   size_t n_split_dns;
169   char **split_dns;
170   protobuf_c_boolean has_client_bypass_protocol;
171   uint32_t client_bypass_protocol;
172 };
173 #define GROUP_CFG_ST__INIT \
174  { PROTOBUF_C_MESSAGE_INIT (&group_cfg_st__descriptor) \
175     , 0, 0, 0, 0, 0, 0, 0, 0, 0,NULL, 0,NULL, 0,NULL, 0,NULL, NULL, NULL, NULL, 0, 0, NULL, NULL, 0, 0, 0, 0, 0, 0, NULL, NULL, 0,NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,NULL, NULL, 0,NULL, 0, 0 }
176 
177 
178 /*
179  * AUTH_COOKIE_REP
180  */
181 struct  _AuthCookieReplyMsg
182 {
183   ProtobufCMessage base;
184   AUTHREP reply;
185   /*
186    * dtls
187    */
188   protobuf_c_boolean has_session_id;
189   ProtobufCBinaryData session_id;
190   char *vname;
191   char *user_name;
192   char *group_name;
193   /*
194    * the ips of the tun device
195    */
196   char *ipv4;
197   char *ipv6;
198   char *ipv4_local;
199   char *ipv6_local;
200   ProtobufCBinaryData sid;
201   /*
202    * additional config
203    */
204   GroupCfgSt *config;
205 };
206 #define AUTH_COOKIE_REPLY_MSG__INIT \
207  { PROTOBUF_C_MESSAGE_INIT (&auth_cookie_reply_msg__descriptor) \
208     , AUTH__REP__OK, 0, {0,NULL}, NULL, NULL, NULL, NULL, NULL, NULL, NULL, {0,NULL}, NULL }
209 
210 
211 /*
212  * RESUME_FETCH_REQ + RESUME_DELETE_REQ
213  */
214 struct  _SessionResumeFetchMsg
215 {
216   ProtobufCMessage base;
217   ProtobufCBinaryData session_id;
218   /*
219    * this is of type sockaddr_storage,
220    * and contains the address of the client.
221    */
222   ProtobufCBinaryData cli_addr;
223   char *vhost;
224 };
225 #define SESSION_RESUME_FETCH_MSG__INIT \
226  { PROTOBUF_C_MESSAGE_INIT (&session_resume_fetch_msg__descriptor) \
227     , {0,NULL}, {0,NULL}, NULL }
228 
229 
230 /*
231  * RESUME_STORE_REQ
232  */
233 struct  _SessionResumeStoreReqMsg
234 {
235   ProtobufCMessage base;
236   ProtobufCBinaryData session_id;
237   ProtobufCBinaryData session_data;
238   /*
239    * this is of type sockaddr_storage,
240    * and contains the address of the client.
241    */
242   ProtobufCBinaryData cli_addr;
243   char *vhost;
244 };
245 #define SESSION_RESUME_STORE_REQ_MSG__INIT \
246  { PROTOBUF_C_MESSAGE_INIT (&session_resume_store_req_msg__descriptor) \
247     , {0,NULL}, {0,NULL}, {0,NULL}, NULL }
248 
249 
250 /*
251  * RESUME_FETCH_REP
252  */
253 struct  _SessionResumeReplyMsg
254 {
255   ProtobufCMessage base;
256   SessionResumeReplyMsg__RESUMEREP reply;
257   protobuf_c_boolean has_session_data;
258   ProtobufCBinaryData session_data;
259 };
260 #define SESSION_RESUME_REPLY_MSG__INIT \
261  { PROTOBUF_C_MESSAGE_INIT (&session_resume_reply_msg__descriptor) \
262     , SESSION_RESUME_REPLY_MSG__RESUME__REP__OK, 0, {0,NULL} }
263 
264 
265 /*
266  * TUN_MTU
267  */
268 struct  _TunMtuMsg
269 {
270   ProtobufCMessage base;
271   uint32_t mtu;
272 };
273 #define TUN_MTU_MSG__INIT \
274  { PROTOBUF_C_MESSAGE_INIT (&tun_mtu_msg__descriptor) \
275     , 0 }
276 
277 
278 /*
279  * SECM_CLI_STATS
280  */
281 struct  _CliStatsMsg
282 {
283   ProtobufCMessage base;
284   uint64_t bytes_in;
285   uint64_t bytes_out;
286   protobuf_c_boolean has_sid;
287   ProtobufCBinaryData sid;
288   uint32_t uptime;
289   char *remote_ip;
290   char *ipv4;
291   char *ipv6;
292   protobuf_c_boolean has_discon_reason;
293   uint32_t discon_reason;
294 };
295 #define CLI_STATS_MSG__INIT \
296  { PROTOBUF_C_MESSAGE_INIT (&cli_stats_msg__descriptor) \
297     , 0, 0, 0, {0,NULL}, 0, NULL, NULL, NULL, 0, 0 }
298 
299 
300 /*
301  * UDP_FD
302  */
303 struct  _UdpFdMsg
304 {
305   ProtobufCMessage base;
306   /*
307    * is that a client hello?
308    */
309   protobuf_c_boolean hello;
310   /*
311    * the first packet in the fd
312    */
313   ProtobufCBinaryData data;
314 };
315 #define UDP_FD_MSG__INIT \
316  { PROTOBUF_C_MESSAGE_INIT (&udp_fd_msg__descriptor) \
317     , 1, {0,NULL} }
318 
319 
320 struct  _SnapshotEntryMsg
321 {
322   ProtobufCMessage base;
323   uint32_t file_descriptor;
324   char *file_name;
325 };
326 #define SNAPSHOT_ENTRY_MSG__INIT \
327  { PROTOBUF_C_MESSAGE_INIT (&snapshot_entry_msg__descriptor) \
328     , 0, NULL }
329 
330 
331 /*
332  * WORKER_STARTUP
333  */
334 struct  _WorkerStartupMsg
335 {
336   ProtobufCMessage base;
337   ProtobufCBinaryData secmod_addr;
338   uint32_t cmd_fd;
339   uint32_t conn_fd;
340   WorkerStartupMsg__CONNTYPE conn_type;
341   char *remote_ip_str;
342   char *our_ip_str;
343   uint64_t session_start_time;
344   ProtobufCBinaryData remote_addr;
345   ProtobufCBinaryData our_addr;
346   ProtobufCBinaryData sec_auth_init_hmac;
347   size_t n_snapshot_entries;
348   SnapshotEntryMsg **snapshot_entries;
349   size_t n_pam_auth_group_list;
350   char **pam_auth_group_list;
351   size_t n_gssapi_auth_group_list;
352   char **gssapi_auth_group_list;
353   size_t n_plain_auth_group_list;
354   char **plain_auth_group_list;
355 };
356 #define WORKER_STARTUP_MSG__INIT \
357  { PROTOBUF_C_MESSAGE_INIT (&worker_startup_msg__descriptor) \
358     , {0,NULL}, 0, 0, WORKER_STARTUP_MSG__CONN__TYPE__TCP, NULL, NULL, 0, {0,NULL}, {0,NULL}, {0,NULL}, 0,NULL, 0,NULL, 0,NULL, 0,NULL }
359 
360 
361 /*
362  * SESSION_INFO
363  */
364 struct  _SessionInfoMsg
365 {
366   ProtobufCMessage base;
367   char *tls_ciphersuite;
368   char *dtls_ciphersuite;
369   char *cstp_compr;
370   char *dtls_compr;
371   /*
372    * these two are of type sockaddr_storage,
373    * and contain the addresses we got from proxy
374    * protocol (if any).
375    */
376   protobuf_c_boolean has_our_addr;
377   ProtobufCBinaryData our_addr;
378   protobuf_c_boolean has_remote_addr;
379   ProtobufCBinaryData remote_addr;
380 };
381 #define SESSION_INFO_MSG__INIT \
382  { PROTOBUF_C_MESSAGE_INIT (&session_info_msg__descriptor) \
383     , NULL, NULL, NULL, NULL, 0, {0,NULL}, 0, {0,NULL} }
384 
385 
386 /*
387  * WORKER_BAN_IP: sent from worker to main
388  */
389 struct  _BanIpMsg
390 {
391   ProtobufCMessage base;
392   char *ip;
393   uint32_t score;
394   /*
395    * sec-mod sends it
396    */
397   protobuf_c_boolean has_sid;
398   ProtobufCBinaryData sid;
399   protobuf_c_boolean has_discon_reason;
400   uint32_t discon_reason;
401 };
402 #define BAN_IP_MSG__INIT \
403  { PROTOBUF_C_MESSAGE_INIT (&ban_ip_msg__descriptor) \
404     , NULL, 0, 0, {0,NULL}, 0, 0 }
405 
406 
407 struct  _BanIpReplyMsg
408 {
409   ProtobufCMessage base;
410   /*
411    * whether to disconnect the user
412    */
413   AUTHREP reply;
414   /*
415    * sec-mod needs it
416    */
417   protobuf_c_boolean has_sid;
418   ProtobufCBinaryData sid;
419 };
420 #define BAN_IP_REPLY_MSG__INIT \
421  { PROTOBUF_C_MESSAGE_INIT (&ban_ip_reply_msg__descriptor) \
422     , AUTH__REP__OK, 0, {0,NULL} }
423 
424 
425 /*
426  * WORKER_LATENCY_STATS_DELTA: sent from worker to main
427  */
428 struct  _LatencyStatsDelta
429 {
430   ProtobufCMessage base;
431   uint64_t median_delta;
432   uint64_t rms_delta;
433   uint64_t sample_count_delta;
434 };
435 #define LATENCY_STATS_DELTA__INIT \
436  { PROTOBUF_C_MESSAGE_INIT (&latency_stats_delta__descriptor) \
437     , 0, 0, 0 }
438 
439 
440 /*
441  * SEC_AUTH_INIT
442  */
443 struct  _SecAuthInitMsg
444 {
445   ProtobufCMessage base;
446   protobuf_c_boolean tls_auth_ok;
447   char *user_name;
448   /*
449    * selected group name
450    */
451   char *group_name;
452   char *cert_user_name;
453   size_t n_cert_group_names;
454   char **cert_group_names;
455   char *ip;
456   uint32_t auth_type;
457   char *our_ip;
458   char *user_agent;
459   char *device_platform;
460   char *device_type;
461   char *vhost;
462   uint64_t session_start_time;
463   ProtobufCBinaryData hmac;
464 };
465 #define SEC_AUTH_INIT_MSG__INIT \
466  { PROTOBUF_C_MESSAGE_INIT (&sec_auth_init_msg__descriptor) \
467     , 0, NULL, NULL, NULL, 0,NULL, NULL, 0u, NULL, NULL, NULL, NULL, NULL, 0, {0,NULL} }
468 
469 
470 /*
471  * SEC_AUTH_CONT
472  */
473 struct  _SecAuthContMsg
474 {
475   ProtobufCMessage base;
476   char *password;
477   ProtobufCBinaryData sid;
478   char *ip;
479 };
480 #define SEC_AUTH_CONT_MSG__INIT \
481  { PROTOBUF_C_MESSAGE_INIT (&sec_auth_cont_msg__descriptor) \
482     , NULL, {0,NULL}, NULL }
483 
484 
485 /*
486  * SEC_AUTH_REP
487  */
488 struct  _SecAuthReplyMsg
489 {
490   ProtobufCMessage base;
491   AUTHREP reply;
492   char *user_name;
493   /*
494    * message to display to user
495    */
496   char *msg;
497   protobuf_c_boolean has_dtls_session_id;
498   ProtobufCBinaryData dtls_session_id;
499   /*
500    * cookie
501    */
502   protobuf_c_boolean has_sid;
503   ProtobufCBinaryData sid;
504   /*
505    * if that's a password prompt indicates the number of password asked
506    */
507   protobuf_c_boolean has_passwd_counter;
508   uint32_t passwd_counter;
509 };
510 #define SEC_AUTH_REPLY_MSG__INIT \
511  { PROTOBUF_C_MESSAGE_INIT (&sec_auth_reply_msg__descriptor) \
512     , AUTH__REP__OK, NULL, NULL, 0, {0,NULL}, 0, {0,NULL}, 0, 0 }
513 
514 
515 /*
516  * SEC_SIGN/DECRYPT
517  */
518 struct  _SecOpMsg
519 {
520   ProtobufCMessage base;
521   protobuf_c_boolean has_key_idx;
522   uint32_t key_idx;
523   ProtobufCBinaryData data;
524   uint32_t sig;
525   char *vhost;
526 };
527 #define SEC_OP_MSG__INIT \
528  { PROTOBUF_C_MESSAGE_INIT (&sec_op_msg__descriptor) \
529     , 0, 0, {0,NULL}, 0, NULL }
530 
531 
532 struct  _SecGetPkMsg
533 {
534   ProtobufCMessage base;
535   uint32_t key_idx;
536   uint32_t pk;
537   char *vhost;
538   protobuf_c_boolean has_bits;
539   uint32_t bits;
540 };
541 #define SEC_GET_PK_MSG__INIT \
542  { PROTOBUF_C_MESSAGE_INIT (&sec_get_pk_msg__descriptor) \
543     , 0, 0, NULL, 0, 0 }
544 
545 
546 /*
547  * SECM_SESSION_OPEN
548  */
549 struct  _SecmSessionOpenMsg
550 {
551   ProtobufCMessage base;
552   /*
553    * cookie
554    */
555   ProtobufCBinaryData sid;
556   char *ipv4;
557   char *ipv6;
558 };
559 #define SECM_SESSION_OPEN_MSG__INIT \
560  { PROTOBUF_C_MESSAGE_INIT (&secm_session_open_msg__descriptor) \
561     , {0,NULL}, NULL, NULL }
562 
563 
564 /*
565  * SECM_SESSION_CLOSE
566  */
567 struct  _SecmSessionCloseMsg
568 {
569   ProtobufCMessage base;
570   /*
571    * cookie
572    */
573   ProtobufCBinaryData sid;
574   protobuf_c_boolean has_uptime;
575   uint32_t uptime;
576   protobuf_c_boolean has_bytes_in;
577   uint64_t bytes_in;
578   protobuf_c_boolean has_bytes_out;
579   uint64_t bytes_out;
580   char *ipv4;
581   char *ipv6;
582   protobuf_c_boolean server_disconnected;
583 };
584 #define SECM_SESSION_CLOSE_MSG__INIT \
585  { PROTOBUF_C_MESSAGE_INIT (&secm_session_close_msg__descriptor) \
586     , {0,NULL}, 0, 0, 0, 0, 0, 0, NULL, NULL, 0 }
587 
588 
589 /*
590  * SECM_STATS
591  */
592 struct  _SecmStatsMsg
593 {
594   ProtobufCMessage base;
595   uint32_t secmod_client_entries;
596   uint32_t secmod_tlsdb_entries;
597   /*
598    * failures since last update
599    */
600   uint64_t secmod_auth_failures;
601   /*
602    * average auth time in seconds
603    */
604   uint32_t secmod_avg_auth_time;
605   /*
606    * max auth time in seconds
607    */
608   uint32_t secmod_max_auth_time;
609 };
610 #define SECM_STATS_MSG__INIT \
611  { PROTOBUF_C_MESSAGE_INIT (&secm_stats_msg__descriptor) \
612     , 0, 0, 0, 0, 0 }
613 
614 
615 /*
616  * SECM_SESSION_REPLY
617  */
618 struct  _SecmSessionReplyMsg
619 {
620   ProtobufCMessage base;
621   AUTHREP reply;
622   GroupCfgSt *config;
623   char *username;
624   char *groupname;
625   char *ip;
626   uint32_t ipv4_seed;
627   ProtobufCBinaryData sid;
628   protobuf_c_boolean tls_auth_ok;
629   char *vhost;
630   char *user_agent;
631   char *device_platform;
632   char *device_type;
633 };
634 #define SECM_SESSION_REPLY_MSG__INIT \
635  { PROTOBUF_C_MESSAGE_INIT (&secm_session_reply_msg__descriptor) \
636     , AUTH__REP__OK, NULL, NULL, NULL, NULL, 0, {0,NULL}, 0, NULL, NULL, NULL, NULL }
637 
638 
639 /*
640  * internal struct
641  */
642 struct  _CookieIntMsg
643 {
644   ProtobufCMessage base;
645   ProtobufCBinaryData safe_id;
646   protobuf_c_boolean session_is_open;
647   protobuf_c_boolean tls_auth_ok;
648   uint32_t created;
649   char *username;
650   char *groupname;
651   char *user_agent;
652   char *remote_ip;
653   uint32_t expires;
654   /*
655    * the authentication status (PS_*)
656    */
657   uint32_t status;
658   protobuf_c_boolean in_use;
659   char *vhost;
660 };
661 #define COOKIE_INT_MSG__INIT \
662  { PROTOBUF_C_MESSAGE_INIT (&cookie_int_msg__descriptor) \
663     , {0,NULL}, 0, 0, 0, NULL, NULL, NULL, NULL, 0, 0, 0, NULL }
664 
665 
666 /*
667  * SECM_LIST_COOKIES_REPLY
668  */
669 struct  _SecmListCookiesReplyMsg
670 {
671   ProtobufCMessage base;
672   size_t n_cookies;
673   CookieIntMsg **cookies;
674 };
675 #define SECM_LIST_COOKIES_REPLY_MSG__INIT \
676  { PROTOBUF_C_MESSAGE_INIT (&secm_list_cookies_reply_msg__descriptor) \
677     , 0,NULL }
678 
679 
680 /*
681  * snapshot_state
682  */
683 struct  _SnapshotStateMsg
684 {
685   ProtobufCMessage base;
686 };
687 #define SNAPSHOT_STATE_MSG__INIT \
688  { PROTOBUF_C_MESSAGE_INIT (&snapshot_state_msg__descriptor) \
689      }
690 
691 
692 /* AuthCookieRequestMsg methods */
693 void   auth_cookie_request_msg__init
694                      (AuthCookieRequestMsg         *message);
695 size_t auth_cookie_request_msg__get_packed_size
696                      (const AuthCookieRequestMsg   *message);
697 size_t auth_cookie_request_msg__pack
698                      (const AuthCookieRequestMsg   *message,
699                       uint8_t             *out);
700 size_t auth_cookie_request_msg__pack_to_buffer
701                      (const AuthCookieRequestMsg   *message,
702                       ProtobufCBuffer     *buffer);
703 AuthCookieRequestMsg *
704        auth_cookie_request_msg__unpack
705                      (ProtobufCAllocator  *allocator,
706                       size_t               len,
707                       const uint8_t       *data);
708 void   auth_cookie_request_msg__free_unpacked
709                      (AuthCookieRequestMsg *message,
710                       ProtobufCAllocator *allocator);
711 /* FwPortSt methods */
712 void   fw_port_st__init
713                      (FwPortSt         *message);
714 size_t fw_port_st__get_packed_size
715                      (const FwPortSt   *message);
716 size_t fw_port_st__pack
717                      (const FwPortSt   *message,
718                       uint8_t             *out);
719 size_t fw_port_st__pack_to_buffer
720                      (const FwPortSt   *message,
721                       ProtobufCBuffer     *buffer);
722 FwPortSt *
723        fw_port_st__unpack
724                      (ProtobufCAllocator  *allocator,
725                       size_t               len,
726                       const uint8_t       *data);
727 void   fw_port_st__free_unpacked
728                      (FwPortSt *message,
729                       ProtobufCAllocator *allocator);
730 /* GroupCfgSt methods */
731 void   group_cfg_st__init
732                      (GroupCfgSt         *message);
733 size_t group_cfg_st__get_packed_size
734                      (const GroupCfgSt   *message);
735 size_t group_cfg_st__pack
736                      (const GroupCfgSt   *message,
737                       uint8_t             *out);
738 size_t group_cfg_st__pack_to_buffer
739                      (const GroupCfgSt   *message,
740                       ProtobufCBuffer     *buffer);
741 GroupCfgSt *
742        group_cfg_st__unpack
743                      (ProtobufCAllocator  *allocator,
744                       size_t               len,
745                       const uint8_t       *data);
746 void   group_cfg_st__free_unpacked
747                      (GroupCfgSt *message,
748                       ProtobufCAllocator *allocator);
749 /* AuthCookieReplyMsg methods */
750 void   auth_cookie_reply_msg__init
751                      (AuthCookieReplyMsg         *message);
752 size_t auth_cookie_reply_msg__get_packed_size
753                      (const AuthCookieReplyMsg   *message);
754 size_t auth_cookie_reply_msg__pack
755                      (const AuthCookieReplyMsg   *message,
756                       uint8_t             *out);
757 size_t auth_cookie_reply_msg__pack_to_buffer
758                      (const AuthCookieReplyMsg   *message,
759                       ProtobufCBuffer     *buffer);
760 AuthCookieReplyMsg *
761        auth_cookie_reply_msg__unpack
762                      (ProtobufCAllocator  *allocator,
763                       size_t               len,
764                       const uint8_t       *data);
765 void   auth_cookie_reply_msg__free_unpacked
766                      (AuthCookieReplyMsg *message,
767                       ProtobufCAllocator *allocator);
768 /* SessionResumeFetchMsg methods */
769 void   session_resume_fetch_msg__init
770                      (SessionResumeFetchMsg         *message);
771 size_t session_resume_fetch_msg__get_packed_size
772                      (const SessionResumeFetchMsg   *message);
773 size_t session_resume_fetch_msg__pack
774                      (const SessionResumeFetchMsg   *message,
775                       uint8_t             *out);
776 size_t session_resume_fetch_msg__pack_to_buffer
777                      (const SessionResumeFetchMsg   *message,
778                       ProtobufCBuffer     *buffer);
779 SessionResumeFetchMsg *
780        session_resume_fetch_msg__unpack
781                      (ProtobufCAllocator  *allocator,
782                       size_t               len,
783                       const uint8_t       *data);
784 void   session_resume_fetch_msg__free_unpacked
785                      (SessionResumeFetchMsg *message,
786                       ProtobufCAllocator *allocator);
787 /* SessionResumeStoreReqMsg methods */
788 void   session_resume_store_req_msg__init
789                      (SessionResumeStoreReqMsg         *message);
790 size_t session_resume_store_req_msg__get_packed_size
791                      (const SessionResumeStoreReqMsg   *message);
792 size_t session_resume_store_req_msg__pack
793                      (const SessionResumeStoreReqMsg   *message,
794                       uint8_t             *out);
795 size_t session_resume_store_req_msg__pack_to_buffer
796                      (const SessionResumeStoreReqMsg   *message,
797                       ProtobufCBuffer     *buffer);
798 SessionResumeStoreReqMsg *
799        session_resume_store_req_msg__unpack
800                      (ProtobufCAllocator  *allocator,
801                       size_t               len,
802                       const uint8_t       *data);
803 void   session_resume_store_req_msg__free_unpacked
804                      (SessionResumeStoreReqMsg *message,
805                       ProtobufCAllocator *allocator);
806 /* SessionResumeReplyMsg methods */
807 void   session_resume_reply_msg__init
808                      (SessionResumeReplyMsg         *message);
809 size_t session_resume_reply_msg__get_packed_size
810                      (const SessionResumeReplyMsg   *message);
811 size_t session_resume_reply_msg__pack
812                      (const SessionResumeReplyMsg   *message,
813                       uint8_t             *out);
814 size_t session_resume_reply_msg__pack_to_buffer
815                      (const SessionResumeReplyMsg   *message,
816                       ProtobufCBuffer     *buffer);
817 SessionResumeReplyMsg *
818        session_resume_reply_msg__unpack
819                      (ProtobufCAllocator  *allocator,
820                       size_t               len,
821                       const uint8_t       *data);
822 void   session_resume_reply_msg__free_unpacked
823                      (SessionResumeReplyMsg *message,
824                       ProtobufCAllocator *allocator);
825 /* TunMtuMsg methods */
826 void   tun_mtu_msg__init
827                      (TunMtuMsg         *message);
828 size_t tun_mtu_msg__get_packed_size
829                      (const TunMtuMsg   *message);
830 size_t tun_mtu_msg__pack
831                      (const TunMtuMsg   *message,
832                       uint8_t             *out);
833 size_t tun_mtu_msg__pack_to_buffer
834                      (const TunMtuMsg   *message,
835                       ProtobufCBuffer     *buffer);
836 TunMtuMsg *
837        tun_mtu_msg__unpack
838                      (ProtobufCAllocator  *allocator,
839                       size_t               len,
840                       const uint8_t       *data);
841 void   tun_mtu_msg__free_unpacked
842                      (TunMtuMsg *message,
843                       ProtobufCAllocator *allocator);
844 /* CliStatsMsg methods */
845 void   cli_stats_msg__init
846                      (CliStatsMsg         *message);
847 size_t cli_stats_msg__get_packed_size
848                      (const CliStatsMsg   *message);
849 size_t cli_stats_msg__pack
850                      (const CliStatsMsg   *message,
851                       uint8_t             *out);
852 size_t cli_stats_msg__pack_to_buffer
853                      (const CliStatsMsg   *message,
854                       ProtobufCBuffer     *buffer);
855 CliStatsMsg *
856        cli_stats_msg__unpack
857                      (ProtobufCAllocator  *allocator,
858                       size_t               len,
859                       const uint8_t       *data);
860 void   cli_stats_msg__free_unpacked
861                      (CliStatsMsg *message,
862                       ProtobufCAllocator *allocator);
863 /* UdpFdMsg methods */
864 void   udp_fd_msg__init
865                      (UdpFdMsg         *message);
866 size_t udp_fd_msg__get_packed_size
867                      (const UdpFdMsg   *message);
868 size_t udp_fd_msg__pack
869                      (const UdpFdMsg   *message,
870                       uint8_t             *out);
871 size_t udp_fd_msg__pack_to_buffer
872                      (const UdpFdMsg   *message,
873                       ProtobufCBuffer     *buffer);
874 UdpFdMsg *
875        udp_fd_msg__unpack
876                      (ProtobufCAllocator  *allocator,
877                       size_t               len,
878                       const uint8_t       *data);
879 void   udp_fd_msg__free_unpacked
880                      (UdpFdMsg *message,
881                       ProtobufCAllocator *allocator);
882 /* SnapshotEntryMsg methods */
883 void   snapshot_entry_msg__init
884                      (SnapshotEntryMsg         *message);
885 size_t snapshot_entry_msg__get_packed_size
886                      (const SnapshotEntryMsg   *message);
887 size_t snapshot_entry_msg__pack
888                      (const SnapshotEntryMsg   *message,
889                       uint8_t             *out);
890 size_t snapshot_entry_msg__pack_to_buffer
891                      (const SnapshotEntryMsg   *message,
892                       ProtobufCBuffer     *buffer);
893 SnapshotEntryMsg *
894        snapshot_entry_msg__unpack
895                      (ProtobufCAllocator  *allocator,
896                       size_t               len,
897                       const uint8_t       *data);
898 void   snapshot_entry_msg__free_unpacked
899                      (SnapshotEntryMsg *message,
900                       ProtobufCAllocator *allocator);
901 /* WorkerStartupMsg methods */
902 void   worker_startup_msg__init
903                      (WorkerStartupMsg         *message);
904 size_t worker_startup_msg__get_packed_size
905                      (const WorkerStartupMsg   *message);
906 size_t worker_startup_msg__pack
907                      (const WorkerStartupMsg   *message,
908                       uint8_t             *out);
909 size_t worker_startup_msg__pack_to_buffer
910                      (const WorkerStartupMsg   *message,
911                       ProtobufCBuffer     *buffer);
912 WorkerStartupMsg *
913        worker_startup_msg__unpack
914                      (ProtobufCAllocator  *allocator,
915                       size_t               len,
916                       const uint8_t       *data);
917 void   worker_startup_msg__free_unpacked
918                      (WorkerStartupMsg *message,
919                       ProtobufCAllocator *allocator);
920 /* SessionInfoMsg methods */
921 void   session_info_msg__init
922                      (SessionInfoMsg         *message);
923 size_t session_info_msg__get_packed_size
924                      (const SessionInfoMsg   *message);
925 size_t session_info_msg__pack
926                      (const SessionInfoMsg   *message,
927                       uint8_t             *out);
928 size_t session_info_msg__pack_to_buffer
929                      (const SessionInfoMsg   *message,
930                       ProtobufCBuffer     *buffer);
931 SessionInfoMsg *
932        session_info_msg__unpack
933                      (ProtobufCAllocator  *allocator,
934                       size_t               len,
935                       const uint8_t       *data);
936 void   session_info_msg__free_unpacked
937                      (SessionInfoMsg *message,
938                       ProtobufCAllocator *allocator);
939 /* BanIpMsg methods */
940 void   ban_ip_msg__init
941                      (BanIpMsg         *message);
942 size_t ban_ip_msg__get_packed_size
943                      (const BanIpMsg   *message);
944 size_t ban_ip_msg__pack
945                      (const BanIpMsg   *message,
946                       uint8_t             *out);
947 size_t ban_ip_msg__pack_to_buffer
948                      (const BanIpMsg   *message,
949                       ProtobufCBuffer     *buffer);
950 BanIpMsg *
951        ban_ip_msg__unpack
952                      (ProtobufCAllocator  *allocator,
953                       size_t               len,
954                       const uint8_t       *data);
955 void   ban_ip_msg__free_unpacked
956                      (BanIpMsg *message,
957                       ProtobufCAllocator *allocator);
958 /* BanIpReplyMsg methods */
959 void   ban_ip_reply_msg__init
960                      (BanIpReplyMsg         *message);
961 size_t ban_ip_reply_msg__get_packed_size
962                      (const BanIpReplyMsg   *message);
963 size_t ban_ip_reply_msg__pack
964                      (const BanIpReplyMsg   *message,
965                       uint8_t             *out);
966 size_t ban_ip_reply_msg__pack_to_buffer
967                      (const BanIpReplyMsg   *message,
968                       ProtobufCBuffer     *buffer);
969 BanIpReplyMsg *
970        ban_ip_reply_msg__unpack
971                      (ProtobufCAllocator  *allocator,
972                       size_t               len,
973                       const uint8_t       *data);
974 void   ban_ip_reply_msg__free_unpacked
975                      (BanIpReplyMsg *message,
976                       ProtobufCAllocator *allocator);
977 /* LatencyStatsDelta methods */
978 void   latency_stats_delta__init
979                      (LatencyStatsDelta         *message);
980 size_t latency_stats_delta__get_packed_size
981                      (const LatencyStatsDelta   *message);
982 size_t latency_stats_delta__pack
983                      (const LatencyStatsDelta   *message,
984                       uint8_t             *out);
985 size_t latency_stats_delta__pack_to_buffer
986                      (const LatencyStatsDelta   *message,
987                       ProtobufCBuffer     *buffer);
988 LatencyStatsDelta *
989        latency_stats_delta__unpack
990                      (ProtobufCAllocator  *allocator,
991                       size_t               len,
992                       const uint8_t       *data);
993 void   latency_stats_delta__free_unpacked
994                      (LatencyStatsDelta *message,
995                       ProtobufCAllocator *allocator);
996 /* SecAuthInitMsg methods */
997 void   sec_auth_init_msg__init
998                      (SecAuthInitMsg         *message);
999 size_t sec_auth_init_msg__get_packed_size
1000                      (const SecAuthInitMsg   *message);
1001 size_t sec_auth_init_msg__pack
1002                      (const SecAuthInitMsg   *message,
1003                       uint8_t             *out);
1004 size_t sec_auth_init_msg__pack_to_buffer
1005                      (const SecAuthInitMsg   *message,
1006                       ProtobufCBuffer     *buffer);
1007 SecAuthInitMsg *
1008        sec_auth_init_msg__unpack
1009                      (ProtobufCAllocator  *allocator,
1010                       size_t               len,
1011                       const uint8_t       *data);
1012 void   sec_auth_init_msg__free_unpacked
1013                      (SecAuthInitMsg *message,
1014                       ProtobufCAllocator *allocator);
1015 /* SecAuthContMsg methods */
1016 void   sec_auth_cont_msg__init
1017                      (SecAuthContMsg         *message);
1018 size_t sec_auth_cont_msg__get_packed_size
1019                      (const SecAuthContMsg   *message);
1020 size_t sec_auth_cont_msg__pack
1021                      (const SecAuthContMsg   *message,
1022                       uint8_t             *out);
1023 size_t sec_auth_cont_msg__pack_to_buffer
1024                      (const SecAuthContMsg   *message,
1025                       ProtobufCBuffer     *buffer);
1026 SecAuthContMsg *
1027        sec_auth_cont_msg__unpack
1028                      (ProtobufCAllocator  *allocator,
1029                       size_t               len,
1030                       const uint8_t       *data);
1031 void   sec_auth_cont_msg__free_unpacked
1032                      (SecAuthContMsg *message,
1033                       ProtobufCAllocator *allocator);
1034 /* SecAuthReplyMsg methods */
1035 void   sec_auth_reply_msg__init
1036                      (SecAuthReplyMsg         *message);
1037 size_t sec_auth_reply_msg__get_packed_size
1038                      (const SecAuthReplyMsg   *message);
1039 size_t sec_auth_reply_msg__pack
1040                      (const SecAuthReplyMsg   *message,
1041                       uint8_t             *out);
1042 size_t sec_auth_reply_msg__pack_to_buffer
1043                      (const SecAuthReplyMsg   *message,
1044                       ProtobufCBuffer     *buffer);
1045 SecAuthReplyMsg *
1046        sec_auth_reply_msg__unpack
1047                      (ProtobufCAllocator  *allocator,
1048                       size_t               len,
1049                       const uint8_t       *data);
1050 void   sec_auth_reply_msg__free_unpacked
1051                      (SecAuthReplyMsg *message,
1052                       ProtobufCAllocator *allocator);
1053 /* SecOpMsg methods */
1054 void   sec_op_msg__init
1055                      (SecOpMsg         *message);
1056 size_t sec_op_msg__get_packed_size
1057                      (const SecOpMsg   *message);
1058 size_t sec_op_msg__pack
1059                      (const SecOpMsg   *message,
1060                       uint8_t             *out);
1061 size_t sec_op_msg__pack_to_buffer
1062                      (const SecOpMsg   *message,
1063                       ProtobufCBuffer     *buffer);
1064 SecOpMsg *
1065        sec_op_msg__unpack
1066                      (ProtobufCAllocator  *allocator,
1067                       size_t               len,
1068                       const uint8_t       *data);
1069 void   sec_op_msg__free_unpacked
1070                      (SecOpMsg *message,
1071                       ProtobufCAllocator *allocator);
1072 /* SecGetPkMsg methods */
1073 void   sec_get_pk_msg__init
1074                      (SecGetPkMsg         *message);
1075 size_t sec_get_pk_msg__get_packed_size
1076                      (const SecGetPkMsg   *message);
1077 size_t sec_get_pk_msg__pack
1078                      (const SecGetPkMsg   *message,
1079                       uint8_t             *out);
1080 size_t sec_get_pk_msg__pack_to_buffer
1081                      (const SecGetPkMsg   *message,
1082                       ProtobufCBuffer     *buffer);
1083 SecGetPkMsg *
1084        sec_get_pk_msg__unpack
1085                      (ProtobufCAllocator  *allocator,
1086                       size_t               len,
1087                       const uint8_t       *data);
1088 void   sec_get_pk_msg__free_unpacked
1089                      (SecGetPkMsg *message,
1090                       ProtobufCAllocator *allocator);
1091 /* SecmSessionOpenMsg methods */
1092 void   secm_session_open_msg__init
1093                      (SecmSessionOpenMsg         *message);
1094 size_t secm_session_open_msg__get_packed_size
1095                      (const SecmSessionOpenMsg   *message);
1096 size_t secm_session_open_msg__pack
1097                      (const SecmSessionOpenMsg   *message,
1098                       uint8_t             *out);
1099 size_t secm_session_open_msg__pack_to_buffer
1100                      (const SecmSessionOpenMsg   *message,
1101                       ProtobufCBuffer     *buffer);
1102 SecmSessionOpenMsg *
1103        secm_session_open_msg__unpack
1104                      (ProtobufCAllocator  *allocator,
1105                       size_t               len,
1106                       const uint8_t       *data);
1107 void   secm_session_open_msg__free_unpacked
1108                      (SecmSessionOpenMsg *message,
1109                       ProtobufCAllocator *allocator);
1110 /* SecmSessionCloseMsg methods */
1111 void   secm_session_close_msg__init
1112                      (SecmSessionCloseMsg         *message);
1113 size_t secm_session_close_msg__get_packed_size
1114                      (const SecmSessionCloseMsg   *message);
1115 size_t secm_session_close_msg__pack
1116                      (const SecmSessionCloseMsg   *message,
1117                       uint8_t             *out);
1118 size_t secm_session_close_msg__pack_to_buffer
1119                      (const SecmSessionCloseMsg   *message,
1120                       ProtobufCBuffer     *buffer);
1121 SecmSessionCloseMsg *
1122        secm_session_close_msg__unpack
1123                      (ProtobufCAllocator  *allocator,
1124                       size_t               len,
1125                       const uint8_t       *data);
1126 void   secm_session_close_msg__free_unpacked
1127                      (SecmSessionCloseMsg *message,
1128                       ProtobufCAllocator *allocator);
1129 /* SecmStatsMsg methods */
1130 void   secm_stats_msg__init
1131                      (SecmStatsMsg         *message);
1132 size_t secm_stats_msg__get_packed_size
1133                      (const SecmStatsMsg   *message);
1134 size_t secm_stats_msg__pack
1135                      (const SecmStatsMsg   *message,
1136                       uint8_t             *out);
1137 size_t secm_stats_msg__pack_to_buffer
1138                      (const SecmStatsMsg   *message,
1139                       ProtobufCBuffer     *buffer);
1140 SecmStatsMsg *
1141        secm_stats_msg__unpack
1142                      (ProtobufCAllocator  *allocator,
1143                       size_t               len,
1144                       const uint8_t       *data);
1145 void   secm_stats_msg__free_unpacked
1146                      (SecmStatsMsg *message,
1147                       ProtobufCAllocator *allocator);
1148 /* SecmSessionReplyMsg methods */
1149 void   secm_session_reply_msg__init
1150                      (SecmSessionReplyMsg         *message);
1151 size_t secm_session_reply_msg__get_packed_size
1152                      (const SecmSessionReplyMsg   *message);
1153 size_t secm_session_reply_msg__pack
1154                      (const SecmSessionReplyMsg   *message,
1155                       uint8_t             *out);
1156 size_t secm_session_reply_msg__pack_to_buffer
1157                      (const SecmSessionReplyMsg   *message,
1158                       ProtobufCBuffer     *buffer);
1159 SecmSessionReplyMsg *
1160        secm_session_reply_msg__unpack
1161                      (ProtobufCAllocator  *allocator,
1162                       size_t               len,
1163                       const uint8_t       *data);
1164 void   secm_session_reply_msg__free_unpacked
1165                      (SecmSessionReplyMsg *message,
1166                       ProtobufCAllocator *allocator);
1167 /* CookieIntMsg methods */
1168 void   cookie_int_msg__init
1169                      (CookieIntMsg         *message);
1170 size_t cookie_int_msg__get_packed_size
1171                      (const CookieIntMsg   *message);
1172 size_t cookie_int_msg__pack
1173                      (const CookieIntMsg   *message,
1174                       uint8_t             *out);
1175 size_t cookie_int_msg__pack_to_buffer
1176                      (const CookieIntMsg   *message,
1177                       ProtobufCBuffer     *buffer);
1178 CookieIntMsg *
1179        cookie_int_msg__unpack
1180                      (ProtobufCAllocator  *allocator,
1181                       size_t               len,
1182                       const uint8_t       *data);
1183 void   cookie_int_msg__free_unpacked
1184                      (CookieIntMsg *message,
1185                       ProtobufCAllocator *allocator);
1186 /* SecmListCookiesReplyMsg methods */
1187 void   secm_list_cookies_reply_msg__init
1188                      (SecmListCookiesReplyMsg         *message);
1189 size_t secm_list_cookies_reply_msg__get_packed_size
1190                      (const SecmListCookiesReplyMsg   *message);
1191 size_t secm_list_cookies_reply_msg__pack
1192                      (const SecmListCookiesReplyMsg   *message,
1193                       uint8_t             *out);
1194 size_t secm_list_cookies_reply_msg__pack_to_buffer
1195                      (const SecmListCookiesReplyMsg   *message,
1196                       ProtobufCBuffer     *buffer);
1197 SecmListCookiesReplyMsg *
1198        secm_list_cookies_reply_msg__unpack
1199                      (ProtobufCAllocator  *allocator,
1200                       size_t               len,
1201                       const uint8_t       *data);
1202 void   secm_list_cookies_reply_msg__free_unpacked
1203                      (SecmListCookiesReplyMsg *message,
1204                       ProtobufCAllocator *allocator);
1205 /* SnapshotStateMsg methods */
1206 void   snapshot_state_msg__init
1207                      (SnapshotStateMsg         *message);
1208 size_t snapshot_state_msg__get_packed_size
1209                      (const SnapshotStateMsg   *message);
1210 size_t snapshot_state_msg__pack
1211                      (const SnapshotStateMsg   *message,
1212                       uint8_t             *out);
1213 size_t snapshot_state_msg__pack_to_buffer
1214                      (const SnapshotStateMsg   *message,
1215                       ProtobufCBuffer     *buffer);
1216 SnapshotStateMsg *
1217        snapshot_state_msg__unpack
1218                      (ProtobufCAllocator  *allocator,
1219                       size_t               len,
1220                       const uint8_t       *data);
1221 void   snapshot_state_msg__free_unpacked
1222                      (SnapshotStateMsg *message,
1223                       ProtobufCAllocator *allocator);
1224 /* --- per-message closures --- */
1225 
1226 typedef void (*AuthCookieRequestMsg_Closure)
1227                  (const AuthCookieRequestMsg *message,
1228                   void *closure_data);
1229 typedef void (*FwPortSt_Closure)
1230                  (const FwPortSt *message,
1231                   void *closure_data);
1232 typedef void (*GroupCfgSt_Closure)
1233                  (const GroupCfgSt *message,
1234                   void *closure_data);
1235 typedef void (*AuthCookieReplyMsg_Closure)
1236                  (const AuthCookieReplyMsg *message,
1237                   void *closure_data);
1238 typedef void (*SessionResumeFetchMsg_Closure)
1239                  (const SessionResumeFetchMsg *message,
1240                   void *closure_data);
1241 typedef void (*SessionResumeStoreReqMsg_Closure)
1242                  (const SessionResumeStoreReqMsg *message,
1243                   void *closure_data);
1244 typedef void (*SessionResumeReplyMsg_Closure)
1245                  (const SessionResumeReplyMsg *message,
1246                   void *closure_data);
1247 typedef void (*TunMtuMsg_Closure)
1248                  (const TunMtuMsg *message,
1249                   void *closure_data);
1250 typedef void (*CliStatsMsg_Closure)
1251                  (const CliStatsMsg *message,
1252                   void *closure_data);
1253 typedef void (*UdpFdMsg_Closure)
1254                  (const UdpFdMsg *message,
1255                   void *closure_data);
1256 typedef void (*SnapshotEntryMsg_Closure)
1257                  (const SnapshotEntryMsg *message,
1258                   void *closure_data);
1259 typedef void (*WorkerStartupMsg_Closure)
1260                  (const WorkerStartupMsg *message,
1261                   void *closure_data);
1262 typedef void (*SessionInfoMsg_Closure)
1263                  (const SessionInfoMsg *message,
1264                   void *closure_data);
1265 typedef void (*BanIpMsg_Closure)
1266                  (const BanIpMsg *message,
1267                   void *closure_data);
1268 typedef void (*BanIpReplyMsg_Closure)
1269                  (const BanIpReplyMsg *message,
1270                   void *closure_data);
1271 typedef void (*LatencyStatsDelta_Closure)
1272                  (const LatencyStatsDelta *message,
1273                   void *closure_data);
1274 typedef void (*SecAuthInitMsg_Closure)
1275                  (const SecAuthInitMsg *message,
1276                   void *closure_data);
1277 typedef void (*SecAuthContMsg_Closure)
1278                  (const SecAuthContMsg *message,
1279                   void *closure_data);
1280 typedef void (*SecAuthReplyMsg_Closure)
1281                  (const SecAuthReplyMsg *message,
1282                   void *closure_data);
1283 typedef void (*SecOpMsg_Closure)
1284                  (const SecOpMsg *message,
1285                   void *closure_data);
1286 typedef void (*SecGetPkMsg_Closure)
1287                  (const SecGetPkMsg *message,
1288                   void *closure_data);
1289 typedef void (*SecmSessionOpenMsg_Closure)
1290                  (const SecmSessionOpenMsg *message,
1291                   void *closure_data);
1292 typedef void (*SecmSessionCloseMsg_Closure)
1293                  (const SecmSessionCloseMsg *message,
1294                   void *closure_data);
1295 typedef void (*SecmStatsMsg_Closure)
1296                  (const SecmStatsMsg *message,
1297                   void *closure_data);
1298 typedef void (*SecmSessionReplyMsg_Closure)
1299                  (const SecmSessionReplyMsg *message,
1300                   void *closure_data);
1301 typedef void (*CookieIntMsg_Closure)
1302                  (const CookieIntMsg *message,
1303                   void *closure_data);
1304 typedef void (*SecmListCookiesReplyMsg_Closure)
1305                  (const SecmListCookiesReplyMsg *message,
1306                   void *closure_data);
1307 typedef void (*SnapshotStateMsg_Closure)
1308                  (const SnapshotStateMsg *message,
1309                   void *closure_data);
1310 
1311 /* --- services --- */
1312 
1313 
1314 /* --- descriptors --- */
1315 
1316 extern const ProtobufCEnumDescriptor    auth__rep__descriptor;
1317 extern const ProtobufCMessageDescriptor auth_cookie_request_msg__descriptor;
1318 extern const ProtobufCMessageDescriptor fw_port_st__descriptor;
1319 extern const ProtobufCMessageDescriptor group_cfg_st__descriptor;
1320 extern const ProtobufCMessageDescriptor auth_cookie_reply_msg__descriptor;
1321 extern const ProtobufCMessageDescriptor session_resume_fetch_msg__descriptor;
1322 extern const ProtobufCMessageDescriptor session_resume_store_req_msg__descriptor;
1323 extern const ProtobufCMessageDescriptor session_resume_reply_msg__descriptor;
1324 extern const ProtobufCEnumDescriptor    session_resume_reply_msg__resume__rep__descriptor;
1325 extern const ProtobufCMessageDescriptor tun_mtu_msg__descriptor;
1326 extern const ProtobufCMessageDescriptor cli_stats_msg__descriptor;
1327 extern const ProtobufCMessageDescriptor udp_fd_msg__descriptor;
1328 extern const ProtobufCMessageDescriptor snapshot_entry_msg__descriptor;
1329 extern const ProtobufCMessageDescriptor worker_startup_msg__descriptor;
1330 extern const ProtobufCEnumDescriptor    worker_startup_msg__conn__type__descriptor;
1331 extern const ProtobufCMessageDescriptor session_info_msg__descriptor;
1332 extern const ProtobufCMessageDescriptor ban_ip_msg__descriptor;
1333 extern const ProtobufCMessageDescriptor ban_ip_reply_msg__descriptor;
1334 extern const ProtobufCMessageDescriptor latency_stats_delta__descriptor;
1335 extern const ProtobufCMessageDescriptor sec_auth_init_msg__descriptor;
1336 extern const ProtobufCMessageDescriptor sec_auth_cont_msg__descriptor;
1337 extern const ProtobufCMessageDescriptor sec_auth_reply_msg__descriptor;
1338 extern const ProtobufCMessageDescriptor sec_op_msg__descriptor;
1339 extern const ProtobufCMessageDescriptor sec_get_pk_msg__descriptor;
1340 extern const ProtobufCMessageDescriptor secm_session_open_msg__descriptor;
1341 extern const ProtobufCMessageDescriptor secm_session_close_msg__descriptor;
1342 extern const ProtobufCMessageDescriptor secm_stats_msg__descriptor;
1343 extern const ProtobufCMessageDescriptor secm_session_reply_msg__descriptor;
1344 extern const ProtobufCMessageDescriptor cookie_int_msg__descriptor;
1345 extern const ProtobufCMessageDescriptor secm_list_cookies_reply_msg__descriptor;
1346 extern const ProtobufCMessageDescriptor snapshot_state_msg__descriptor;
1347 
1348 PROTOBUF_C__END_DECLS
1349 
1350 
1351 #endif  /* PROTOBUF_C_ipc_2eproto__INCLUDED */
1352