use {
bitflags::bitflags,
libsyslog_sys::*,
std::os::raw::c_int,
};
bitflags! {
#[derive(Debug,Default)]
pub struct Logopt: c_int {
const Pid = LOG_PID;
const Cons = LOG_CONS;
const ODelay = LOG_ODELAY;
const NDelay = LOG_NDELAY;
const NoWait = LOG_NOWAIT;
#[cfg(any(target_os = "freebsd", target_os = "netbsd"))]
const PError = LOG_PERROR;
#[cfg(target_os = "netbsd")]
const PTrim = LOG_PTRIM;
#[cfg(target_os = "netbsd")]
const NLogm = LOG_NLOG;
}
}