Home
last modified time | relevance | path

Searched refs:default_options (Results 1 – 3 of 3) sorted by relevance

/civetweb-2.7.6/unittest/
Dpublic_func.c154 const struct mg_option *default_options = mg_get_valid_options(); in START_TEST() local
156 ck_assert(default_options != NULL); in START_TEST()
158 for (i = 0; default_options[i].name != NULL; i++) { in START_TEST()
161 ck_assert(default_options[i].name != NULL); in START_TEST()
165 ck_assert(((int)default_options[i].type) > 0); in START_TEST()
166 ck_assert(((int)default_options[i].type) < 10); in START_TEST()
169 c = default_options[i].name[0]; in START_TEST()
174 len = (int)strlen(default_options[i].name); in START_TEST()
180 c = default_options[i].name[j]; in START_TEST()
/civetweb-2.7.6/src/
Dmain.c568 const struct mg_option *default_options = mg_get_valid_options(); in set_option() local
611 for (i = 0; default_options[i].name != NULL; i++) { in set_option()
612 if (!strcmp(default_options[i].name, name)) { in set_option()
613 type = default_options[i].type; in set_option()
1607 const struct mg_option *default_options = mg_get_valid_options(); in SettingsDlgProc() local
1633 for (i = 0; default_options[i].name != NULL; i++) { in SettingsDlgProc()
1634 name = default_options[i].name; in SettingsDlgProc()
1635 value = default_options[i].default_value == NULL in SettingsDlgProc()
1637 : default_options[i].default_value; in SettingsDlgProc()
1638 if (default_options[i].type == MG_CONFIG_TYPE_BOOLEAN) { in SettingsDlgProc()
[all …]
/civetweb-2.7.6/
Dconanfile.py25 default_options = { variable in civetwebConan