X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/28b410b2cc8630fc1b3466c6b3fb6214ba9396b6..6ce56fd8481f4fc5ae2cf9383e6b6ecbff42b41d:/projects/sgauthstress/user.h?ds=inline diff --git a/projects/sgauthstress/user.h b/projects/sgauthstress/user.h new file mode 100644 index 00000000..1ab31d93 --- /dev/null +++ b/projects/sgauthstress/user.h @@ -0,0 +1,26 @@ +#ifndef __USER_H__ +#define __USER_H__ + +#include + +#include "stg/os_int.h" +#include "stg/ia.h" + +class USER { + public: + USER(const std::string & login, + const std::string & password); + ~USER(); + + void Connect(); + void Disconnect(); + + private: + const std::string login; + int phase; + int rnd; + int sock; + BLOWFISH_CTX ctx; +}; + +#endif