From 04b7054aa998612a872e1dd06b32927b10dc6911 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Attila=20T=C5=91k=C3=A9s?= Date: Sun, 2 Sep 2012 20:48:18 +0300 Subject: [PATCH] Added states for state machine implementation of SmtpClient. --- src/smtpclient.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/smtpclient.h b/src/smtpclient.h index f2bc161..f4a1472 100644 --- a/src/smtpclient.h +++ b/src/smtpclient.h @@ -54,6 +54,15 @@ public: TlsConnection // STARTTLS }; + enum State { + UnconnectedState, + ConnectingState, + ConnectedState, + AuthenticatingState, + MailSendingState, + DisconnectingState + }; + /* [0] --- */