Alias event as report
This alias is made so people with OpenSMTPD filters knowledge will directly understand that events are reports.
This commit is contained in:
parent
ae8b64941e
commit
c20fadf99d
3 changed files with 10 additions and 5 deletions
|
@ -14,7 +14,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 opensmtpd_derive::event;
|
||||
pub use opensmtpd_derive::{event, report};
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! handlers {
|
||||
|
|
Reference in a new issue