#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)
{
REQUEST()
+ : chgTariff(false),
+ createUser(false),
+ deleteUser(false)
{
for (int i = 0; i < DIR_NUM; i++)
{
for (int i = 0; i < USERDATA_NUM; i++)
ud[i].reset();
-
- createUser = false;
- deleteUser = false;
}
RESETABLE<string> server;
RESETABLE<string> usrMsg;
RESETABLE<double> credit;
+RESETABLE<time_t> creditExpire;
RESETABLE<string> usrPasswd;
RESETABLE<bool> down;
RESETABLE<bool> passive;