metalog_p.h
来自「Metalog is a modern replacement for sysl」· C头文件 代码 · 共 32 行
H
32 行
#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 + =
减小字号Ctrl + -
显示快捷键?