xref: /DragonReach/src/systemctl/mod.rs (revision 909e4d102ffeb8646e7346c10b007cb0861226a4)
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