2 * netsniff-ng - the packet sniffing beast
3 * Copyright 2009, 2010 Daniel Borkmann.
4 * Subject to the GPL, version 2.
20 static inline void panic(const char *format
, ...) __check_format_printf(1, 2);
21 static inline void syslog_panic(const char *format
,
22 ...) __check_format_printf(1, 2);
23 static inline void syslog_maybe(int may
, int priority
,
24 const char *format
, ...) __check_format_printf(3, 4);
26 static inline void die(void)
31 static inline void _die(void)
36 static inline void panic(const char *format
, ...)
41 vfprintf(stderr
, format
, vl
);
47 static inline void syslog_panic(const char *format
, ...)
52 vsyslog(LOG_ERR
, format
, vl
);
58 static inline void syslog_maybe(int maybe
, int priority
, const char *format
, ...)
64 vsyslog(priority
, format
, vl
);