2023-05-30 23:04:03 +00:00
|
|
|
module structures;
|
|
|
|
|
|
|
|
struct ServerInfo {
|
|
|
|
string name;
|
|
|
|
}
|
|
|
|
|
|
|
|
struct WebHost {
|
|
|
|
string[] addresses;
|
|
|
|
ushort http = 0;
|
|
|
|
ushort https = 0;
|
|
|
|
string cert;
|
|
|
|
string key;
|
|
|
|
string data;
|
|
|
|
string title;
|
|
|
|
int loglevel = -1;
|
|
|
|
int logoutput = 0;
|
|
|
|
string logfile;
|
|
|
|
}
|
|
|
|
|
|
|
|
struct GroupDB {
|
|
|
|
string name;
|
|
|
|
string comment;
|
|
|
|
}
|
|
|
|
|
2023-05-31 22:10:08 +00:00
|
|
|
struct ListDB {
|
|
|
|
string name;
|
|
|
|
string comment;
|
|
|
|
}
|
|
|
|
|
2023-05-30 23:04:03 +00:00
|
|
|
struct NumberDB {
|
|
|
|
string number;
|
|
|
|
string group;
|
|
|
|
string list;
|
|
|
|
int all_cc;
|
|
|
|
int white_cc;
|
|
|
|
int black_cc;
|
|
|
|
string comment;
|
|
|
|
}
|
2023-06-02 23:28:18 +00:00
|
|
|
|
|
|
|
struct SMSDB {
|
|
|
|
int id;
|
|
|
|
string date;
|
|
|
|
string to;
|
|
|
|
string from;
|
|
|
|
string text;
|
|
|
|
}
|
2023-06-03 23:00:19 +00:00
|
|
|
|
|
|
|
struct USSDDB {
|
|
|
|
int id;
|
|
|
|
string date;
|
|
|
|
string to;
|
|
|
|
int type;
|
|
|
|
string type_comment;
|
|
|
|
string text;
|
|
|
|
}
|