Function libuci_sys::uci_import[][src]

pub unsafe extern "C" fn uci_import(
    ctx: *mut uci_context,
    stream: *mut _IO_FILE,
    name: *const c_char,
    package: *mut *mut uci_package,
    single: bool
) -> c_int
Expand description

uci_import: Import uci config data from a stream @ctx: uci context @stream: file stream to import from @name: (optional) assume the config has the given name @package: (optional) store the last parsed config package in this variable @single: ignore the ‘package’ keyword and parse everything into a single package

the name parameter is for config files that don’t explicitly use the ‘package <…>’ keyword if ‘package’ points to a non-null struct pointer, enable delta tracking and merge