mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-11-03 16:45:53 +00:00
Use enum number for val of long options (#1155)
This commit is contained in:
committed by
Max Lv
parent
c0030f0d7d
commit
a3d0f02c3e
+12
@@ -161,6 +161,18 @@ extern int use_syslog;
|
||||
|
||||
#endif // if ANDROID
|
||||
|
||||
/* Vals for long options */
|
||||
enum { GETOPT_VAL_HELP = 257,
|
||||
GETOPT_VAL_FAST_OPEN,
|
||||
GETOPT_VAL_ACL,
|
||||
GETOPT_VAL_MTU,
|
||||
GETOPT_VAL_MPTCP,
|
||||
GETOPT_VAL_PLUGIN,
|
||||
GETOPT_VAL_PLUGIN_OPTS,
|
||||
GETOPT_VAL_MANAGER_ADDRESS,
|
||||
GETOPT_VAL_EXECUTABLE
|
||||
};
|
||||
|
||||
void ERROR(const char *s);
|
||||
|
||||
char *ss_itoa(int i);
|
||||
|
||||
Reference in New Issue
Block a user