25 lines
436 B
Protocol Buffer
25 lines
436 B
Protocol Buffer
syntax = "proto3";
|
|
package witProtobuf;
|
|
|
|
message Config {
|
|
string USER = 1;
|
|
int32 width = 2;
|
|
int32 height = 3;
|
|
string hostname = 4;
|
|
bool debugging = 5;
|
|
bool debugtable = 6;
|
|
string filename = 7;
|
|
repeated Account accounts = 8;
|
|
int32 counter = 9;
|
|
|
|
message Account {
|
|
string nick = 1;
|
|
string username = 2;
|
|
string token = 3;
|
|
string password = 4;
|
|
string hostname = 5;
|
|
string domainname = 6;
|
|
int32 port = 7;
|
|
}
|
|
}
|