Move the response to a dedicated file
This commit is contained in:
parent
eed8f88e2b
commit
1faa101778
2 changed files with 13 additions and 4 deletions
|
@ -10,6 +10,7 @@ mod entry;
|
|||
mod errors;
|
||||
mod event_handlers;
|
||||
mod logger;
|
||||
mod response;
|
||||
mod session_handler;
|
||||
|
||||
use crate::session_handler::SessionHandler;
|
||||
|
@ -24,6 +25,7 @@ pub use crate::entry::{Entry, Event};
|
|||
pub use crate::errors::Error;
|
||||
pub use crate::event_handlers::{Callback, EventHandler, MatchEvent};
|
||||
pub use crate::logger::SmtpdLogger;
|
||||
pub use crate::response::Response;
|
||||
pub use opensmtpd_derive::{event, report};
|
||||
|
||||
#[macro_export]
|
||||
|
@ -39,10 +41,6 @@ macro_rules! handlers {
|
|||
};
|
||||
}
|
||||
|
||||
pub enum Response {
|
||||
None,
|
||||
}
|
||||
|
||||
#[derive(Clone, Default)]
|
||||
pub struct NoContext;
|
||||
|
||||
|
|
Reference in a new issue