summaryrefslogtreecommitdiffstats
path: root/Tools/ProtoProxy/Server.h
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/ProtoProxy/Server.h')
-rw-r--r--Tools/ProtoProxy/Server.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/Tools/ProtoProxy/Server.h b/Tools/ProtoProxy/Server.h
index e8db7f1c7..f636d679d 100644
--- a/Tools/ProtoProxy/Server.h
+++ b/Tools/ProtoProxy/Server.h
@@ -13,15 +13,15 @@
#include "mbedTLS++/RsaPrivateKey.h"
#ifdef _WIN32
- #define SocketError WSAGetLastError()
+#define SocketError WSAGetLastError()
#else
- typedef int SOCKET;
- enum
- {
- INVALID_SOCKET = -1,
- };
- #define closesocket close
- #define SocketError errno
+typedef int SOCKET;
+enum
+{
+ INVALID_SOCKET = -1,
+};
+#define closesocket close
+#define SocketError errno
#endif
@@ -35,14 +35,14 @@ class cServer
ContiguousByteBuffer m_PublicKeyDER;
UInt16 m_ConnectPort;
-public:
+ public:
cServer(void);
- int Init(UInt16 a_ListenPort, UInt16 a_ConnectPort);
+ int Init(UInt16 a_ListenPort, UInt16 a_ConnectPort);
void Run(void);
cRsaPrivateKey & GetPrivateKey(void) { return m_PrivateKey; }
- ContiguousByteBufferView GetPublicKeyDER (void) { return m_PublicKeyDER; }
+ ContiguousByteBufferView GetPublicKeyDER(void) { return m_PublicKeyDER; }
UInt16 GetConnectPort(void) const { return m_ConnectPort; }
-} ;
+};