macros rename

This commit is contained in:
2022-05-11 16:49:33 +03:00
parent fa19ad1093
commit 0897a8369f
20 changed files with 76 additions and 76 deletions

View File

@@ -195,7 +195,7 @@ private:
int offset, cur, height;
};
BINARY_STREAM_STORE (Daemon::HostInfo) {
BINARY_STREAM_WRITE(Daemon::HostInfo) {
s << v.execCommand << v.hostname << v.user << v.OS_name
<< v.OS_version << v.architecture << v.execDateTime
<< v.processorsCount << v.ID << v.threads << v.priority
@@ -203,7 +203,7 @@ BINARY_STREAM_STORE (Daemon::HostInfo) {
<< v.cpu_load_system << v.cpu_load_user;
return s;
}
BINARY_STREAM_RESTORE(Daemon::HostInfo) {
BINARY_STREAM_READ (Daemon::HostInfo) {
s >> v.execCommand >> v.hostname >> v.user >> v.OS_name
>> v.OS_version >> v.architecture >> v.execDateTime
>> v.processorsCount >> v.ID >> v.threads >> v.priority