📄 metalog_p.h
字号:
#ifndef __METALOG_P_H__#define __METALOG_P_H__ 1#ifdef HAVE_KLOGCTL# define GETOPT_OPTIONS "Bc:hs"#else# define GETOPT_OPTIONS "Bhs"#endifstatic struct option long_options[] = { { "daemonize", 0, NULL, 'B' },#ifdef HAVE_KLOGCTL { "consolelevel", 1, NULL, 'c' },#endif { "help", 0, NULL, 'h' }, { "synchronous", 0, NULL, 's' }, { NULL, 0, NULL, 0 }};static char *prg_name;static ConfigBlock *config_blocks;static Output *outputs;#ifdef HAVE_KLOGCTLstatic int console_level = DEFAULT_CONSOLE_LEVEL;#endifstatic pid_t child;static pid_t command_child;static sig_atomic_t synchronous;static signed char daemonize;#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -