1 use std::ffi::CString; 2 3 pub mod ctl_parser; 4 pub mod listener; 5 6 pub const DRAGON_REACH_CTL_PIPE: &'static str = "/etc/reach/ipc/ctl"; 7 ctl_path() -> CString8 pub fn ctl_path() -> CString { 9 CString::new(DRAGON_REACH_CTL_PIPE).expect("Failed to create pipe CString") 10 } 11