parse_rndc_conf_file

Function parse_rndc_conf_file 

Source
pub fn parse_rndc_conf_file(path: &Path) -> ParseResult<RndcConfFile>
Expand description

Parse rndc.conf from file with include resolution

Handles include directives and detects circular includes.

ยงExamples

use bindcar::rndc_conf_parser::parse_rndc_conf_file;
use std::path::Path;

let config = parse_rndc_conf_file(Path::new("/etc/bind/rndc.conf")).unwrap();