116#ifndef XRT_OS_ANDROID
int ipc_server_main(int argc, char **argv, const struct ipc_server_main_info *ismi)
Main entrypoint to the compositor process.
Definition: ipc_server_process.c:1189
int ipc_server_main_common(const struct ipc_server_main_info *ismi, const struct ipc_server_callbacks *iscb, void *data)
Common main function for starting the IPC service.
Definition: ipc_server_process.c:1066
enum xrt_result xrt_result_t
Result type used across Monado.
Definition: ipc_server_interface.h:52
void(* client_disconnected)(struct ipc_server *s, uint32_t client_id, void *data)
A client has disconnected from the IPC server.
Definition: ipc_server_interface.h:96
void(* mainloop_leaving)(struct ipc_server *s, struct xrt_instance *xinst, void *data)
The service is leaving the mainloop, after this callback returns the IPC server will destroy all reso...
Definition: ipc_server_interface.h:78
void(* init_failed)(xrt_result_t xret, void *data)
The IPC server failed to init.
Definition: ipc_server_interface.h:59
void(* client_connected)(struct ipc_server *s, uint32_t client_id, void *data)
A new client has connected to the IPC server.
Definition: ipc_server_interface.h:87
void(* mainloop_entering)(struct ipc_server *s, struct xrt_instance *xinst, void *data)
The service has completed init and is entering its mainloop.
Definition: ipc_server_interface.h:68
Information passed into the IPC server main function, used for customization of the IPC server.
Definition: ipc_server_interface.h:36
bool exit_on_disconnect
Flag whether runtime should exit on app disconnect.
Definition: ipc_server_interface.h:41
bool no_stdin
Disable listening on stdin for server stop.
Definition: ipc_server_interface.h:44
struct u_debug_gui_create_info udgci
Information passed onto the debug gui.
Definition: ipc_server_interface.h:38
Main IPC object for the server.
Definition: ipc_server.h:352
int ipc_server_stop(struct ipc_server *s)
Asks the server to shut down, this call is asynchronous and will return immediately.
Definition: ipc_server_process.c:1144
Argument to the function u_debug_gui_create.
Definition: u_debug_gui.h:49
This interface acts as a root object for Monado.
Definition: xrt_instance.h:120
SDL2 Debug UI implementation.
Auto detect OS and certain features.
Internal result type for XRT.