Function mg::parse_config[][src]

pub fn parse_config<P: AsRef<Path>, COMM: EnumFromStr>(
    filename: P,
    user_modes: Modes,
    include_path: Option<PathBuf>
) -> (Parser<COMM>, ParseResult<COMM>, HashMap<&'static str, Mode>)

Parse a configuration file.