mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-21 22:43:48 +00:00
12 lines
246 B
C
12 lines
246 B
C
#ifndef _UTILS_H
|
|
#define _UTILS_H
|
|
|
|
#define LOGD(...) ((void)fprintf(stdout, __VA_ARGS__))
|
|
#define LOGE(...) ((void)fprintf(stderr, __VA_ARGS__))
|
|
|
|
void FATAL(const char *msg);
|
|
void usage(void);
|
|
void demonize(const char* path);
|
|
|
|
#endif // _UTILS_H
|