diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp new file mode 100644 index 0000000..ba2848d --- /dev/null +++ b/src/main.cpp @@ -0,0 +1,14 @@ +#include <sdbusplus/asio/connection.hpp> + +#include "smtp_service.hpp" + +int main() +{ + boost::asio::io_service io_context; + + auto connection = std::make_shared<sdbusplus::asio::connection>( io_context ); + smtp::SmtpService smtp{ connection }; + + io_context.run(); + return 0; +} |