configtpl 0.1.0

A configuration library which uses Jinja + YAML to render the configuration values.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::shared_lib::ffi::types::lib_types::SimpleResult;

/// This function should be invoked before any other library routines.
/// Right at the moment it does nothing, but some initialization might be added in the future.
#[unsafe(no_mangle)]
pub extern "C" fn configtpl_init() -> SimpleResult {
    SimpleResult::Success
}


/// This function should be invoked after any other library routines.
/// /// Right at the moment it does nothing, but some final actions might be added in the future.
#[unsafe(no_mangle)]
pub extern "C" fn configtpl_cleanup() -> SimpleResult {
    SimpleResult::Success
}