Pass the PID of the native host to the Wine hosts

We need this for our watchdog.
This commit is contained in:
Robbert van der Helm
2021-05-01 17:12:37 +02:00
parent 071bb157ad
commit 757fb6d372
4 changed files with 22 additions and 13 deletions
+2
View File
@@ -50,12 +50,14 @@ struct HostRequest {
PluginType plugin_type;
std::string plugin_path;
std::string endpoint_base_dir;
pid_t parent_pid;
template <typename S>
void serialize(S& s) {
s.object(plugin_type);
s.text1b(plugin_path, 4096);
s.text1b(endpoint_base_dir, 4096);
s.value4b(parent_pid);
}
};