/* * This function reads the designated config file and save into int the * config struct. */ int readconfig(char *config_file);