- 论坛徽章:
- 0
|
enum {
c_opt_config_file = 0,
d_opt_decode_url,
h_opt_home_httpd,
IF_FEATURE_HTTPD_ENCODE_URL_STR(e_opt_encode_url,)
IF_FEATURE_HTTPD_BASIC_AUTH( r_opt_realm ,)
IF_FEATURE_HTTPD_AUTH_MD5( m_opt_md5 ,)
IF_FEATURE_HTTPD_SETUID( u_opt_setuid ,)
p_opt_port ,
p_opt_inetd ,
p_opt_foreground,
p_opt_verbose ,
OPT_CONFIG_FILE = 1 << c_opt_config_file,
OPT_DECODE_URL = 1 << d_opt_decode_url,
OPT_HOME_HTTPD = 1 << h_opt_home_httpd,
OPT_ENCODE_URL = IF_FEATURE_HTTPD_ENCODE_URL_STR((1 << e_opt_encode_url)) + 0,
};
int main()
{
char *url_for_decode;
IF_FEATURE_HTTPD_ENCODE_URL_STR(const char *url_for_encode
IF_FEATURE_HTTPD_SETUID(const char *s_ugid = NULL
IF_FEATURE_HTTPD_SETUID(struct bb_uidgid_t ugid
IF_FEATURE_HTTPD_AUTH_MD5(const char *pass
}
这里的IF_FEATURE_HTTPD_ENCODE_URL_STR(e_opt_encode_url,)在enum中和函数体里分别是什么意思啊?
|
|