MOS Source Code
Loading...
Searching...
No Matches
syslog.pb.h File Reference
#include <pb.h>
+ Include dependency graph for syslog.pb.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  pb_thread
 
struct  pb_process
 
struct  pb_source_location
 
struct  pb_syslog_source_info
 
struct  pb_syslog_message
 

Macros

#define _syslog_level_MIN   syslog_level_UNSET
 
#define _syslog_level_MAX   syslog_level_FATAL
 
#define _syslog_level_ARRAYSIZE   ((syslog_level)(syslog_level_FATAL+1))
 
#define pb_syslog_source_info_level_ENUMTYPE   syslog_level
 
#define pb_thread_init_default   {0, ""}
 
#define pb_process_init_default   {0, ""}
 
#define pb_source_location_init_default   {"", 0, ""}
 
#define pb_syslog_source_info_init_default   {_syslog_level_MIN, 0, pb_source_location_init_default}
 
#define pb_syslog_message_init_default   {0, pb_syslog_source_info_init_default, "", pb_thread_init_default, pb_process_init_default, 0}
 
#define pb_thread_init_zero   {0, ""}
 
#define pb_process_init_zero   {0, ""}
 
#define pb_source_location_init_zero   {"", 0, ""}
 
#define pb_syslog_source_info_init_zero   {_syslog_level_MIN, 0, pb_source_location_init_zero}
 
#define pb_syslog_message_init_zero   {0, pb_syslog_source_info_init_zero, "", pb_thread_init_zero, pb_process_init_zero, 0}
 
#define pb_thread_tid_tag   1
 
#define pb_thread_name_tag   2
 
#define pb_process_pid_tag   1
 
#define pb_process_name_tag   2
 
#define pb_source_location_filename_tag   1
 
#define pb_source_location_line_tag   2
 
#define pb_source_location_function_tag   3
 
#define pb_syslog_source_info_level_tag   1
 
#define pb_syslog_source_info_featid_tag   2
 
#define pb_syslog_source_info_source_location_tag   3
 
#define pb_syslog_message_timestamp_tag   1
 
#define pb_syslog_message_info_tag   2
 
#define pb_syslog_message_message_tag   3
 
#define pb_syslog_message_thread_tag   4
 
#define pb_syslog_message_process_tag   5
 
#define pb_syslog_message_cpu_id_tag   6
 
#define pb_thread_FIELDLIST(X, a)
 
#define pb_thread_CALLBACK   NULL
 
#define pb_thread_DEFAULT   NULL
 
#define pb_process_FIELDLIST(X, a)
 
#define pb_process_CALLBACK   NULL
 
#define pb_process_DEFAULT   NULL
 
#define pb_source_location_FIELDLIST(X, a)
 
#define pb_source_location_CALLBACK   NULL
 
#define pb_source_location_DEFAULT   NULL
 
#define pb_syslog_source_info_FIELDLIST(X, a)
 
#define pb_syslog_source_info_CALLBACK   NULL
 
#define pb_syslog_source_info_DEFAULT   NULL
 
#define pb_syslog_source_info_source_location_MSGTYPE   pb_source_location
 
#define pb_syslog_message_FIELDLIST(X, a)
 
#define pb_syslog_message_CALLBACK   NULL
 
#define pb_syslog_message_DEFAULT   NULL
 
#define pb_syslog_message_info_MSGTYPE   pb_syslog_source_info
 
#define pb_syslog_message_thread_MSGTYPE   pb_thread
 
#define pb_syslog_message_process_MSGTYPE   pb_process
 
#define pb_thread_fields   &pb_thread_msg
 
#define pb_process_fields   &pb_process_msg
 
#define pb_source_location_fields   &pb_source_location_msg
 
#define pb_syslog_source_info_fields   &pb_syslog_source_info_msg
 
#define pb_syslog_message_fields   &pb_syslog_message_msg
 
#define SYSLOG_PB_H_MAX_SIZE   pb_syslog_message_size
 
#define pb_process_size   39
 
#define pb_source_location_size   72
 
#define pb_syslog_message_size   697
 
#define pb_syslog_source_info_size   82
 
#define pb_thread_size   39
 

Enumerations

enum  syslog_level {
  syslog_level_UNSET = 0 , syslog_level_INFO2 = 1 , syslog_level_INFO = 2 , syslog_level_EMPH = 3 ,
  syslog_level_WARN = 4 , syslog_level_EMERG = 5 , syslog_level_FATAL = 6
}
 

Variables

const pb_msgdesc_t pb_thread_msg
 
const pb_msgdesc_t pb_process_msg
 
const pb_msgdesc_t pb_source_location_msg
 
const pb_msgdesc_t pb_syslog_source_info_msg
 
const pb_msgdesc_t pb_syslog_message_msg
 

Macro Definition Documentation

◆ _syslog_level_MIN

#define _syslog_level_MIN   syslog_level_UNSET

Definition at line 61 of file syslog.pb.h.

◆ _syslog_level_MAX

#define _syslog_level_MAX   syslog_level_FATAL

Definition at line 62 of file syslog.pb.h.

◆ _syslog_level_ARRAYSIZE

#define _syslog_level_ARRAYSIZE   ((syslog_level)(syslog_level_FATAL+1))

Definition at line 63 of file syslog.pb.h.

◆ pb_syslog_source_info_level_ENUMTYPE

#define pb_syslog_source_info_level_ENUMTYPE   syslog_level

Definition at line 68 of file syslog.pb.h.

◆ pb_thread_init_default

#define pb_thread_init_default   {0, ""}

Definition at line 73 of file syslog.pb.h.

◆ pb_process_init_default

#define pb_process_init_default   {0, ""}

Definition at line 74 of file syslog.pb.h.

◆ pb_source_location_init_default

#define pb_source_location_init_default   {"", 0, ""}

Definition at line 75 of file syslog.pb.h.

◆ pb_syslog_source_info_init_default

#define pb_syslog_source_info_init_default   {_syslog_level_MIN, 0, pb_source_location_init_default}

Definition at line 76 of file syslog.pb.h.

◆ pb_syslog_message_init_default

#define pb_syslog_message_init_default   {0, pb_syslog_source_info_init_default, "", pb_thread_init_default, pb_process_init_default, 0}

Definition at line 77 of file syslog.pb.h.

◆ pb_thread_init_zero

#define pb_thread_init_zero   {0, ""}

Definition at line 78 of file syslog.pb.h.

◆ pb_process_init_zero

#define pb_process_init_zero   {0, ""}

Definition at line 79 of file syslog.pb.h.

◆ pb_source_location_init_zero

#define pb_source_location_init_zero   {"", 0, ""}

Definition at line 80 of file syslog.pb.h.

◆ pb_syslog_source_info_init_zero

#define pb_syslog_source_info_init_zero   {_syslog_level_MIN, 0, pb_source_location_init_zero}

Definition at line 81 of file syslog.pb.h.

◆ pb_syslog_message_init_zero

#define pb_syslog_message_init_zero   {0, pb_syslog_source_info_init_zero, "", pb_thread_init_zero, pb_process_init_zero, 0}

Definition at line 82 of file syslog.pb.h.

◆ pb_thread_tid_tag

#define pb_thread_tid_tag   1

Definition at line 85 of file syslog.pb.h.

◆ pb_thread_name_tag

#define pb_thread_name_tag   2

Definition at line 86 of file syslog.pb.h.

◆ pb_process_pid_tag

#define pb_process_pid_tag   1

Definition at line 87 of file syslog.pb.h.

◆ pb_process_name_tag

#define pb_process_name_tag   2

Definition at line 88 of file syslog.pb.h.

◆ pb_source_location_filename_tag

#define pb_source_location_filename_tag   1

Definition at line 89 of file syslog.pb.h.

◆ pb_source_location_line_tag

#define pb_source_location_line_tag   2

Definition at line 90 of file syslog.pb.h.

◆ pb_source_location_function_tag

#define pb_source_location_function_tag   3

Definition at line 91 of file syslog.pb.h.

◆ pb_syslog_source_info_level_tag

#define pb_syslog_source_info_level_tag   1

Definition at line 92 of file syslog.pb.h.

◆ pb_syslog_source_info_featid_tag

#define pb_syslog_source_info_featid_tag   2

Definition at line 93 of file syslog.pb.h.

◆ pb_syslog_source_info_source_location_tag

#define pb_syslog_source_info_source_location_tag   3

Definition at line 94 of file syslog.pb.h.

◆ pb_syslog_message_timestamp_tag

#define pb_syslog_message_timestamp_tag   1

Definition at line 95 of file syslog.pb.h.

◆ pb_syslog_message_info_tag

#define pb_syslog_message_info_tag   2

Definition at line 96 of file syslog.pb.h.

◆ pb_syslog_message_message_tag

#define pb_syslog_message_message_tag   3

Definition at line 97 of file syslog.pb.h.

◆ pb_syslog_message_thread_tag

#define pb_syslog_message_thread_tag   4

Definition at line 98 of file syslog.pb.h.

◆ pb_syslog_message_process_tag

#define pb_syslog_message_process_tag   5

Definition at line 99 of file syslog.pb.h.

◆ pb_syslog_message_cpu_id_tag

#define pb_syslog_message_cpu_id_tag   6

Definition at line 100 of file syslog.pb.h.

◆ pb_thread_FIELDLIST

#define pb_thread_FIELDLIST ( X,
a )
Value:
X(a, STATIC, SINGULAR, UINT32, tid, 1) \
X(a, STATIC, SINGULAR, STRING, name, 2)
const char * name
Definition slab.c:31

Definition at line 103 of file syslog.pb.h.

◆ pb_thread_CALLBACK

#define pb_thread_CALLBACK   NULL

Definition at line 106 of file syslog.pb.h.

◆ pb_thread_DEFAULT

#define pb_thread_DEFAULT   NULL

Definition at line 107 of file syslog.pb.h.

◆ pb_process_FIELDLIST

#define pb_process_FIELDLIST ( X,
a )
Value:
X(a, STATIC, SINGULAR, UINT32, pid, 1) \
X(a, STATIC, SINGULAR, STRING, name, 2)

Definition at line 109 of file syslog.pb.h.

◆ pb_process_CALLBACK

#define pb_process_CALLBACK   NULL

Definition at line 112 of file syslog.pb.h.

◆ pb_process_DEFAULT

#define pb_process_DEFAULT   NULL

Definition at line 113 of file syslog.pb.h.

◆ pb_source_location_FIELDLIST

#define pb_source_location_FIELDLIST ( X,
a )
Value:
X(a, STATIC, SINGULAR, STRING, filename, 1) \
X(a, STATIC, SINGULAR, UINT32, line, 2) \
X(a, STATIC, SINGULAR, STRING, function, 3)
u32 line
Definition assert.h:36

Definition at line 115 of file syslog.pb.h.

◆ pb_source_location_CALLBACK

#define pb_source_location_CALLBACK   NULL

Definition at line 119 of file syslog.pb.h.

◆ pb_source_location_DEFAULT

#define pb_source_location_DEFAULT   NULL

Definition at line 120 of file syslog.pb.h.

◆ pb_syslog_source_info_FIELDLIST

#define pb_syslog_source_info_FIELDLIST ( X,
a )
Value:
X(a, STATIC, SINGULAR, UENUM, level, 1) \
X(a, STATIC, SINGULAR, UINT32, featid, 2) \
X(a, STATIC, SINGULAR, MESSAGE, source_location, 3)

Definition at line 122 of file syslog.pb.h.

◆ pb_syslog_source_info_CALLBACK

#define pb_syslog_source_info_CALLBACK   NULL

Definition at line 126 of file syslog.pb.h.

◆ pb_syslog_source_info_DEFAULT

#define pb_syslog_source_info_DEFAULT   NULL

Definition at line 127 of file syslog.pb.h.

◆ pb_syslog_source_info_source_location_MSGTYPE

#define pb_syslog_source_info_source_location_MSGTYPE   pb_source_location

Definition at line 128 of file syslog.pb.h.

◆ pb_syslog_message_FIELDLIST

#define pb_syslog_message_FIELDLIST ( X,
a )
Value:
X(a, STATIC, SINGULAR, UINT64, timestamp, 1) \
X(a, STATIC, SINGULAR, MESSAGE, info, 2) \
X(a, STATIC, SINGULAR, STRING, message, 3) \
X(a, STATIC, SINGULAR, MESSAGE, thread, 4) \
X(a, STATIC, SINGULAR, MESSAGE, process, 5) \
X(a, STATIC, SINGULAR, UINT32, cpu_id, 6)

Definition at line 130 of file syslog.pb.h.

◆ pb_syslog_message_CALLBACK

#define pb_syslog_message_CALLBACK   NULL

Definition at line 137 of file syslog.pb.h.

◆ pb_syslog_message_DEFAULT

#define pb_syslog_message_DEFAULT   NULL

Definition at line 138 of file syslog.pb.h.

◆ pb_syslog_message_info_MSGTYPE

#define pb_syslog_message_info_MSGTYPE   pb_syslog_source_info

Definition at line 139 of file syslog.pb.h.

◆ pb_syslog_message_thread_MSGTYPE

#define pb_syslog_message_thread_MSGTYPE   pb_thread

Definition at line 140 of file syslog.pb.h.

◆ pb_syslog_message_process_MSGTYPE

#define pb_syslog_message_process_MSGTYPE   pb_process

Definition at line 141 of file syslog.pb.h.

◆ pb_thread_fields

#define pb_thread_fields   &pb_thread_msg

Definition at line 150 of file syslog.pb.h.

◆ pb_process_fields

#define pb_process_fields   &pb_process_msg

Definition at line 151 of file syslog.pb.h.

◆ pb_source_location_fields

#define pb_source_location_fields   &pb_source_location_msg

Definition at line 152 of file syslog.pb.h.

◆ pb_syslog_source_info_fields

#define pb_syslog_source_info_fields   &pb_syslog_source_info_msg

Definition at line 153 of file syslog.pb.h.

◆ pb_syslog_message_fields

#define pb_syslog_message_fields   &pb_syslog_message_msg

Definition at line 154 of file syslog.pb.h.

◆ SYSLOG_PB_H_MAX_SIZE

#define SYSLOG_PB_H_MAX_SIZE   pb_syslog_message_size

Definition at line 157 of file syslog.pb.h.

◆ pb_process_size

#define pb_process_size   39

Definition at line 158 of file syslog.pb.h.

◆ pb_source_location_size

#define pb_source_location_size   72

Definition at line 159 of file syslog.pb.h.

◆ pb_syslog_message_size

#define pb_syslog_message_size   697

Definition at line 160 of file syslog.pb.h.

◆ pb_syslog_source_info_size

#define pb_syslog_source_info_size   82

Definition at line 161 of file syslog.pb.h.

◆ pb_thread_size

#define pb_thread_size   39

Definition at line 162 of file syslog.pb.h.

Enumeration Type Documentation

◆ syslog_level

Enumerator
syslog_level_UNSET 
syslog_level_INFO2 
syslog_level_INFO 
syslog_level_EMPH 
syslog_level_WARN 
syslog_level_EMERG 
syslog_level_FATAL 

Definition at line 13 of file syslog.pb.h.

Variable Documentation

◆ pb_thread_msg

const pb_msgdesc_t pb_thread_msg
extern

◆ pb_process_msg

const pb_msgdesc_t pb_process_msg
extern

◆ pb_source_location_msg

const pb_msgdesc_t pb_source_location_msg
extern

◆ pb_syslog_source_info_msg

const pb_msgdesc_t pb_syslog_source_info_msg
extern

◆ pb_syslog_message_msg

const pb_msgdesc_t pb_syslog_message_msg
extern