Initial commit

- rough filestructure
- first simplistic daemon
This commit is contained in:
malte
2025-11-06 11:38:20 +01:00
parent af8df2e62e
commit d843c08425
10 changed files with 1389 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
//
// Husk milter
//
// Context
//
pub struct HuskContext {
pub sender: Option<String>,
}
impl HuskContext {
/// Create a new HuskContext instance
pub fn new() -> Option<HuskContext> {
Some(HuskContext {
sender: None
})
}
pub fn set_sender(&mut self, sender: String) {
self.sender = Some(sender);
}
}
+1
View File
@@ -0,0 +1 @@
pub mod husk_context;