4#ifndef PB_SYSLOG_PB_H_INCLUDED
5#define PB_SYSLOG_PB_H_INCLUDED
8#if PB_PROTO_HEADER_VERSION != 40
9#error Regenerate this file with the current version of nanopb generator.
13typedef enum _syslog_level {
24typedef struct _pb_thread {
29typedef struct _pb_process {
34typedef struct _pb_source_location {
40typedef struct _pb_syslog_source_info {
46typedef struct _pb_syslog_message {
61#define _syslog_level_MIN syslog_level_UNSET
62#define _syslog_level_MAX syslog_level_FATAL
63#define _syslog_level_ARRAYSIZE ((syslog_level)(syslog_level_FATAL+1))
68#define pb_syslog_source_info_level_ENUMTYPE syslog_level
73#define pb_thread_init_default {0, ""}
74#define pb_process_init_default {0, ""}
75#define pb_source_location_init_default {"", 0, ""}
76#define pb_syslog_source_info_init_default {_syslog_level_MIN, 0, pb_source_location_init_default}
77#define pb_syslog_message_init_default {0, pb_syslog_source_info_init_default, "", pb_thread_init_default, pb_process_init_default, 0}
78#define pb_thread_init_zero {0, ""}
79#define pb_process_init_zero {0, ""}
80#define pb_source_location_init_zero {"", 0, ""}
81#define pb_syslog_source_info_init_zero {_syslog_level_MIN, 0, pb_source_location_init_zero}
82#define pb_syslog_message_init_zero {0, pb_syslog_source_info_init_zero, "", pb_thread_init_zero, pb_process_init_zero, 0}
85#define pb_thread_tid_tag 1
86#define pb_thread_name_tag 2
87#define pb_process_pid_tag 1
88#define pb_process_name_tag 2
89#define pb_source_location_filename_tag 1
90#define pb_source_location_line_tag 2
91#define pb_source_location_function_tag 3
92#define pb_syslog_source_info_level_tag 1
93#define pb_syslog_source_info_featid_tag 2
94#define pb_syslog_source_info_source_location_tag 3
95#define pb_syslog_message_timestamp_tag 1
96#define pb_syslog_message_info_tag 2
97#define pb_syslog_message_message_tag 3
98#define pb_syslog_message_thread_tag 4
99#define pb_syslog_message_process_tag 5
100#define pb_syslog_message_cpu_id_tag 6
103#define pb_thread_FIELDLIST(X, a) \
104X(a, STATIC, SINGULAR, UINT32, tid, 1) \
105X(a, STATIC, SINGULAR, STRING, name, 2)
106#define pb_thread_CALLBACK NULL
107#define pb_thread_DEFAULT NULL
109#define pb_process_FIELDLIST(X, a) \
110X(a, STATIC, SINGULAR, UINT32, pid, 1) \
111X(a, STATIC, SINGULAR, STRING, name, 2)
112#define pb_process_CALLBACK NULL
113#define pb_process_DEFAULT NULL
115#define pb_source_location_FIELDLIST(X, a) \
116X(a, STATIC, SINGULAR, STRING, filename, 1) \
117X(a, STATIC, SINGULAR, UINT32, line, 2) \
118X(a, STATIC, SINGULAR, STRING, function, 3)
119#define pb_source_location_CALLBACK NULL
120#define pb_source_location_DEFAULT NULL
122#define pb_syslog_source_info_FIELDLIST(X, a) \
123X(a, STATIC, SINGULAR, UENUM, level, 1) \
124X(a, STATIC, SINGULAR, UINT32, featid, 2) \
125X(a, STATIC, SINGULAR, MESSAGE, source_location, 3)
126#define pb_syslog_source_info_CALLBACK NULL
127#define pb_syslog_source_info_DEFAULT NULL
128#define pb_syslog_source_info_source_location_MSGTYPE pb_source_location
130#define pb_syslog_message_FIELDLIST(X, a) \
131X(a, STATIC, SINGULAR, UINT64, timestamp, 1) \
132X(a, STATIC, SINGULAR, MESSAGE, info, 2) \
133X(a, STATIC, SINGULAR, STRING, message, 3) \
134X(a, STATIC, SINGULAR, MESSAGE, thread, 4) \
135X(a, STATIC, SINGULAR, MESSAGE, process, 5) \
136X(a, STATIC, SINGULAR, UINT32, cpu_id, 6)
137#define pb_syslog_message_CALLBACK NULL
138#define pb_syslog_message_DEFAULT NULL
139#define pb_syslog_message_info_MSGTYPE pb_syslog_source_info
140#define pb_syslog_message_thread_MSGTYPE pb_thread
141#define pb_syslog_message_process_MSGTYPE pb_process
150#define pb_thread_fields &pb_thread_msg
151#define pb_process_fields &pb_process_msg
152#define pb_source_location_fields &pb_source_location_msg
153#define pb_syslog_source_info_fields &pb_syslog_source_info_msg
154#define pb_syslog_message_fields &pb_syslog_message_msg
157#define SYSLOG_PB_H_MAX_SIZE pb_syslog_message_size
158#define pb_process_size 39
159#define pb_source_location_size 72
160#define pb_syslog_message_size 697
161#define pb_syslog_source_info_size 82
162#define pb_thread_size 39
unsigned long long uint64_t
pb_syslog_source_info info
pb_source_location source_location
const pb_msgdesc_t pb_syslog_message_msg
const pb_msgdesc_t pb_process_msg
const pb_msgdesc_t pb_source_location_msg
const pb_msgdesc_t pb_thread_msg
const pb_msgdesc_t pb_syslog_source_info_msg