Monado OpenXR Runtime
Loading...
Searching...
No Matches
ipc_server_main_info Struct Reference

Information passed into the IPC server main function, used for customization of the IPC server. More...

#include </builds/monado/monado/src/xrt/ipc/server/ipc_server_interface.h>

Collaboration diagram for ipc_server_main_info:

Data Fields

struct u_debug_gui_create_info udgci
 Information passed onto the debug gui.
 
bool exit_on_disconnect
 Flag whether runtime should exit on app disconnect.
 
bool no_stdin
 Disable listening on stdin for server stop.
 
const char * socket_filename
 Socket filename (named pipe name on Windows) in the runtime dir.
 
const char * pid_filename
 Pidfile name in the runtime dir, used to refuse a second instance.
 

Detailed Description

Information passed into the IPC server main function, used for customization of the IPC server.

Field Documentation

◆ exit_on_disconnect

bool ipc_server_main_info::exit_on_disconnect

Flag whether runtime should exit on app disconnect.

Referenced by init_all().

◆ no_stdin

bool ipc_server_main_info::no_stdin

Disable listening on stdin for server stop.

Referenced by ipc_server_main_common().

◆ pid_filename

const char* ipc_server_main_info::pid_filename

Pidfile name in the runtime dir, used to refuse a second instance.

Required except on Android, where it is ignored, and only takes effect when built with libbsd.

The pidfile also guards the socket: while holding it the service treats an existing socket file as stale and replaces it. Services that share a socket_filename must therefore also share the pid_filename.

Referenced by init_all(), and ipc_server_main_common().

◆ socket_filename

const char* ipc_server_main_info::socket_filename

Socket filename (named pipe name on Windows) in the runtime dir.

Required except on Android, where it is ignored. Not used when systemd starts the service with an already listening socket.

Referenced by init_all(), and ipc_server_main_common().

◆ udgci

struct u_debug_gui_create_info ipc_server_main_info::udgci

Information passed onto the debug gui.

Referenced by ipc_server_main_common().


The documentation for this struct was generated from the following file: