浏览该文件的文档.
23#ifndef __STUMPLESS_OPTION_H
24# define __STUMPLESS_OPTION_H
26# include <stumpless/config.h>
29# ifdef STUMPLESS_SYSLOG_H_COMPATIBLE
34# ifdef STUMPLESS_SYSLOG_H_COMPATIBLE
35# define STUMPLESS_OPTION_PID LOG_PID
37# define STUMPLESS_OPTION_PID 1
44# ifdef STUMPLESS_SYSLOG_H_COMPATIBLE
45# define STUMPLESS_OPTION_CONS LOG_CONS
47# define STUMPLESS_OPTION_CONS (1<<1)
51# ifdef STUMPLESS_SYSLOG_H_COMPATIBLE
52# define STUMPLESS_OPTION_NDELAY LOG_NDELAY
54# define STUMPLESS_OPTION_NDELAY (1<<2)
58# ifdef STUMPLESS_SYSLOG_H_COMPATIBLE
59# define STUMPLESS_OPTION_ODELAY LOG_ODELAY
61# define STUMPLESS_OPTION_ODELAY (1<<3)
71# ifdef STUMPLESS_SYSLOG_H_COMPATIBLE
72# define STUMPLESS_OPTION_NOWAIT LOG_NOWAIT
74# define STUMPLESS_OPTION_NOWAIT (1<<4)
80# ifdef STUMPLESS_SYSLOG_H_COMPATIBLE
81# define STUMPLESS_OPTION_PERROR LOG_PERROR
83# define STUMPLESS_OPTION_PERROR (1 << 5)
87# define STUMPLESS_OPTION_NONE 0