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;
|
|
|
|
}
|