]> git.stg.codes - stg.git/blob - projects/sgauthstress/user.h
New compilation modules added to the build system
[stg.git] / projects / sgauthstress / user.h
1 #ifndef __USER_H__
2 #define __USER_H__
3
4 #include <string>
5
6 #include "stg/os_int.h"
7 #include "stg/ia.h"
8
9 class USER {
10     public:
11         USER(const std::string & login,
12              const std::string & password);
13         ~USER();
14
15         void Connect();
16         void Disconnect();
17
18     private:
19         const std::string login;
20         int phase;
21         int rnd;
22         int sock;
23         BLOWFISH_CTX ctx;
24 };
25
26 #endif