X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/90e389f6ec12e60a62c362296ffcf314feb5b03d..cd0bf130b165970760884e279bb4301d3f6946ca:/projects/sgconf/request.h diff --git a/projects/sgconf/request.h b/projects/sgconf/request.h index daddec1d..bca3c148 100644 --- a/projects/sgconf/request.h +++ b/projects/sgconf/request.h @@ -49,16 +49,19 @@ struct REQUEST REQUEST() : chgTariff(false), createUser(false), - deleteUser(false) + deleteUser(false), + authBy(false) { for (int i = 0; i < DIR_NUM; i++) { - u[i].reset(); - d[i].reset(); + sessionUpload[i].reset(); + sessionDownload[i].reset(); + monthUpload[i].reset(); + monthDownload[i].reset(); } for (int i = 0; i < USERDATA_NUM; i++) - ud[i].reset(); + userData[i].reset(); } RESETABLE server; @@ -75,6 +78,7 @@ RESETABLE setCash; string message; bool createUser; bool deleteUser; +bool authBy; RESETABLE usrMsg; RESETABLE credit; @@ -86,10 +90,13 @@ RESETABLE disableDetailStat; RESETABLE alwaysOnline; RESETABLE prepaidTraff; -RESETABLE u[DIR_NUM]; -RESETABLE d[DIR_NUM]; +RESETABLE sessionUpload[DIR_NUM]; +RESETABLE sessionDownload[DIR_NUM]; -RESETABLE ud[USERDATA_NUM]; +RESETABLE monthUpload[DIR_NUM]; +RESETABLE monthDownload[DIR_NUM]; + +RESETABLE userData[USERDATA_NUM]; RESETABLE note; RESETABLE name;