66 lines
2.2 KiB
C
66 lines
2.2 KiB
C
/* Automatically generated nanopb header */
|
|
/* Generated by nanopb-0.4.9 */
|
|
|
|
#ifndef PB_ACCOUNT_V1_ACCOUNT_V1_CREATE_PB_H_INCLUDED
|
|
#define PB_ACCOUNT_V1_ACCOUNT_V1_CREATE_PB_H_INCLUDED
|
|
#include <pb.h>
|
|
#include "buf/validate/validate.pb.h"
|
|
|
|
#if PB_PROTO_HEADER_VERSION != 40
|
|
#error Regenerate this file with the current version of nanopb generator.
|
|
#endif
|
|
|
|
/* Struct definitions */
|
|
typedef struct _account_v1_CreateAccountRequest {
|
|
pb_callback_t name;
|
|
pb_callback_t logo;
|
|
} account_v1_CreateAccountRequest;
|
|
|
|
typedef struct _account_v1_CreateAccountResponse {
|
|
char dummy_field;
|
|
} account_v1_CreateAccountResponse;
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* Initializer values for message structs */
|
|
#define account_v1_CreateAccountRequest_init_default {{{NULL}, NULL}, {{NULL}, NULL}}
|
|
#define account_v1_CreateAccountResponse_init_default {0}
|
|
#define account_v1_CreateAccountRequest_init_zero {{{NULL}, NULL}, {{NULL}, NULL}}
|
|
#define account_v1_CreateAccountResponse_init_zero {0}
|
|
|
|
/* Field tags (for use in manual encoding/decoding) */
|
|
#define account_v1_CreateAccountRequest_name_tag 1
|
|
#define account_v1_CreateAccountRequest_logo_tag 2
|
|
|
|
/* Struct field encoding specification for nanopb */
|
|
#define account_v1_CreateAccountRequest_FIELDLIST(X, a) \
|
|
X(a, CALLBACK, SINGULAR, STRING, name, 1) \
|
|
X(a, CALLBACK, OPTIONAL, STRING, logo, 2)
|
|
#define account_v1_CreateAccountRequest_CALLBACK pb_default_field_callback
|
|
#define account_v1_CreateAccountRequest_DEFAULT NULL
|
|
|
|
#define account_v1_CreateAccountResponse_FIELDLIST(X, a) \
|
|
|
|
#define account_v1_CreateAccountResponse_CALLBACK NULL
|
|
#define account_v1_CreateAccountResponse_DEFAULT NULL
|
|
|
|
extern const pb_msgdesc_t account_v1_CreateAccountRequest_msg;
|
|
extern const pb_msgdesc_t account_v1_CreateAccountResponse_msg;
|
|
|
|
/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
|
|
#define account_v1_CreateAccountRequest_fields &account_v1_CreateAccountRequest_msg
|
|
#define account_v1_CreateAccountResponse_fields &account_v1_CreateAccountResponse_msg
|
|
|
|
/* Maximum encoded size of messages (where known) */
|
|
/* account_v1_CreateAccountRequest_size depends on runtime parameters */
|
|
#define account_v1_CreateAccountResponse_size 0
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern "C" */
|
|
#endif
|
|
|
|
#endif
|