Commit graph

3 commits

Author SHA1 Message Date
Rodolphe Breard
789455668c Use procedural macros to define events
The construction of an EventHandler object should not be directly done
by the client. Instead, it is easier to use procedural macro to
automatize the process, hence exposing a nice and simple interface. Such
use of procedural macros requires to crate an additional crate.
2019-01-06 15:41:30 +01:00
Rodolphe Breard
a6b9d18374 Update the entry parser
The latest OpenSMTPD draft added the timeout event, it therefore has
been added to the parser. As shown in the new sessions examples, the
timestamp format changed and the parameters are also optional.
2019-01-05 11:40:19 +01:00
Rodolphe Breard
f57a201431 Read and parse incoming entries then dispatch them into session threads 2018-12-29 16:56:56 +01:00