- int have_option = 0;
-
- afp_options_duplicate(&AFPObj->options, defoptions);
-
- if ((AFPObj->iniconfig = iniparser_load(AFPObj->options.configfile)) == NULL)
- /* if config file doesn't exist, load defaults */
- return AFPConfigInit(AFPObj);
-
- if (afp_options_parse(AFPObj) != 0)
- return -1;
-