Lines Matching refs:default_options
568 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()
1651 for (i = 0; default_options[i].name != NULL; i++) { in SettingsDlgProc()
1652 name = default_options[i].name; in SettingsDlgProc()
1653 value = default_options[i].default_value; in SettingsDlgProc()
1662 if (default_options[i].type == MG_CONFIG_TYPE_BOOLEAN) { in SettingsDlgProc()
1678 for (i = 0; default_options[i].name != NULL; i++) { in SettingsDlgProc()
1679 name = default_options[i].name; in SettingsDlgProc()
1681 if (default_options[i].type == MG_CONFIG_TYPE_BOOLEAN) { in SettingsDlgProc()
1695 for (i = 0; default_options[i].name != NULL; i++) { in SettingsDlgProc()
1696 name = default_options[i].name; in SettingsDlgProc()
1697 if (((default_options[i].type == MG_CONFIG_TYPE_FILE) in SettingsDlgProc()
1698 || (default_options[i].type == MG_CONFIG_TYPE_DIRECTORY)) in SettingsDlgProc()
1718 if (default_options[i].type == MG_CONFIG_TYPE_DIRECTORY) { in SettingsDlgProc()