Motr  M0
console_it.c File Reference
#include "lib/memory.h"
#include "fop/fop.h"
#include "console/console.h"
#include "console/console_it.h"
#include "console/console_yaml.h"
#include "lib/trace.h"
Include dependency graph for console_it.c:

Go to the source code of this file.

Macros

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_CONSOLE
 

Functions

static void depth_print (int depth)
 
static void default_show (const struct m0_xcode_type *xct, const char *name, void *data)
 
static void void_get (const struct m0_xcode_type *xct, const char *name, void *data)
 
static void void_set (const struct m0_xcode_type *xct, const char *name, void *data)
 
static void byte_get (const struct m0_xcode_type *xct, const char *name, void *data)
 
static void * cons_yaml_get_unsafe (const char *name)
 
static void byte_set (const struct m0_xcode_type *xct, const char *name, void *data)
 
static void u32_get (const struct m0_xcode_type *xct, const char *name, void *data)
 
static void u32_set (const struct m0_xcode_type *xct, const char *name, void *data)
 
static void u64_get (const struct m0_xcode_type *xct, const char *name, void *data)
 
static void u64_set (const struct m0_xcode_type *xct, const char *name, void *data)
 
static void console_xc_atom_process (struct m0_xcode_cursor_frame *top, enum m0_cons_data_process_type type)
 
static int cons_fop_iterate (struct m0_fop *fop, enum m0_cons_data_process_type type)
 
M0_INTERNAL int m0_cons_fop_obj_input (struct m0_fop *fop)
 Helper function for FOP input. More...
 
M0_INTERNAL int m0_cons_fop_obj_output (struct m0_fop *fop)
 Helper function for FOP output. More...
 
M0_INTERNAL int m0_cons_fop_fields_show (struct m0_fop *fop)
 Iterate over FOP fields and prints the names. More...
 

Variables

bool m0_console_verbose
 
static struct m0_cons_atom_ops atom_ops [M0_XAT_NR]
 Methods to handle U64, U32 etc. More...
 

Macro Definition Documentation

◆ M0_TRACE_SUBSYSTEM

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_CONSOLE

Definition at line 30 of file console_it.c.