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