xref: /DragonReach/src/systemctl/mod.rs (revision dfd3fd9812f3584f9392934d1254e24d17661b2d)
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 
8 pub fn ctl_path() -> CString {
9     CString::new(DRAGON_REACH_CTL_PIPE).expect("Failed to create pipe CString")
10 }
11