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
|
@ -64,3 +64,8 @@ pub fn event(attr: TokenStream, input: TokenStream) -> TokenStream {
|
|||
};
|
||||
output.into()
|
||||
}
|
||||
|
||||
#[proc_macro_attribute]
|
||||
pub fn report(attr: TokenStream, input: TokenStream) -> TokenStream {
|
||||
event(attr, input)
|
||||
}
|
||||
|
|
Reference in a new issue