1 | /* Automatically generated nanopb header */ |
2 | /* Generated by nanopb-0.4.9-dev */ |
3 | |
4 | #ifndef PB_MOSRPC_MOSRPC_PB_H_INCLUDED |
5 | #define PB_MOSRPC_MOSRPC_PB_H_INCLUDED |
6 | #include <pb.h> |
7 | |
8 | #if PB_PROTO_HEADER_VERSION != 40 |
9 | #error Regenerate this file with the current version of nanopb generator. |
10 | #endif |
11 | |
12 | /* Struct definitions */ |
13 | typedef struct _mosrpc_result { |
14 | bool success; |
15 | char *error; |
16 | } mosrpc_result; |
17 | |
18 | |
19 | #ifdef __cplusplus |
20 | extern "C" { |
21 | #endif |
22 | |
23 | /* Initializer values for message structs */ |
24 | #define mosrpc_result_init_default {0, NULL} |
25 | #define mosrpc_result_init_zero {0, NULL} |
26 | |
27 | /* Field tags (for use in manual encoding/decoding) */ |
28 | #define mosrpc_result_success_tag 1 |
29 | #define mosrpc_result_error_tag 2 |
30 | |
31 | /* Struct field encoding specification for nanopb */ |
32 | #define mosrpc_result_FIELDLIST(X, a) \ |
33 | X(a, STATIC, SINGULAR, BOOL, success, 1) \ |
34 | X(a, POINTER, SINGULAR, STRING, error, 2) |
35 | #define mosrpc_result_CALLBACK NULL |
36 | #define mosrpc_result_DEFAULT NULL |
37 | |
38 | extern const pb_msgdesc_t mosrpc_result_msg; |
39 | |
40 | /* Defines for backwards compatibility with code written before nanopb-0.4.0 */ |
41 | #define mosrpc_result_fields &mosrpc_result_msg |
42 | |
43 | /* Maximum encoded size of messages (where known) */ |
44 | /* mosrpc_result_size depends on runtime parameters */ |
45 | |
46 | #ifdef __cplusplus |
47 | } /* extern "C" */ |
48 | #endif |
49 | |
50 | #endif |
51 | |