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