X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/641204dfbdb9fc870cdd2e7f9e3169a44693e7bf..9a060830dcc1d1ae3e557b56e937fb2966dd6337:/projects/sgconf/request.h?ds=inline

diff --git a/projects/sgconf/request.h b/projects/sgconf/request.h
index dbd7d6db..61222127 100644
--- a/projects/sgconf/request.h
+++ b/projects/sgconf/request.h
@@ -32,9 +32,10 @@
 #define request_h
 
 #include <string>
-#include "resetable.h"
-#include "stg_const.h"
-#include "os_int.h"
+
+#include "stg/resetable.h"
+#include "stg/const.h"
+#include "stg/os_int.h"
 
 #define TARIFF_NOW  (0)
 #define TARIFF_DEL  (1)
@@ -46,6 +47,10 @@ struct REQUEST
 {
 
 REQUEST()
+    : chgTariff(false),
+      createUser(false),
+      deleteUser(false),
+      authBy(false)
 {
     for (int i = 0; i < DIR_NUM; i++)
         {
@@ -55,9 +60,6 @@ REQUEST()
 
     for (int i = 0; i < USERDATA_NUM; i++)
         ud[i].reset();
-
-    createUser = false;
-    deleteUser = false;
 }
 
 RESETABLE<string>   server;
@@ -74,9 +76,11 @@ RESETABLE<double>   setCash;
 string              message;
 bool                createUser;
 bool                deleteUser;
+bool                authBy;
 
 RESETABLE<string>   usrMsg;
 RESETABLE<double>   credit;
+RESETABLE<time_t>   creditExpire;
 RESETABLE<string>   usrPasswd;
 RESETABLE<bool>     down;
 RESETABLE<bool>     passive;