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:
Rodolphe Breard 2019-01-17 20:05:31 +01:00
parent ae8b64941e
commit c20fadf99d
3 changed files with 10 additions and 5 deletions

View file

@ -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 {