Monado OpenXR Runtime
ipc_client_connection.c File Reference

Just the client connection setup/teardown bits. More...

#include "os/os_threading.h"
#include "xrt/xrt_results.h"
#include "xrt/xrt_instance.h"
#include "xrt/xrt_handles.h"
#include "xrt/xrt_config_os.h"
#include "xrt/xrt_config_android.h"
#include "util/u_var.h"
#include "util/u_misc.h"
#include "util/u_file.h"
#include "util/u_debug.h"
#include "util/u_git_tag.h"
#include "util/u_system_helpers.h"
#include "shared/ipc_utils.h"
#include "shared/ipc_protocol.h"
#include "client/ipc_client_connection.h"
#include "ipc_client_generated.h"
#include <stdio.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/mman.h>
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
#include <limits.h>
Include dependency graph for ipc_client_connection.c:

Functions

static bool ipc_client_socket_connect (struct ipc_connection *ipc_c)
 
static xrt_result_t ipc_client_setup_shm (struct ipc_connection *ipc_c)
 
static xrt_result_t ipc_client_check_git_tag (struct ipc_connection *ipc_c)
 
static xrt_result_t ipc_client_describe_client (struct ipc_connection *ipc_c, const struct xrt_application_info *a_info)
 
xrt_result_t ipc_client_connection_init (struct ipc_connection *ipc_c, enum u_logging_level log_level, const struct xrt_instance_info *i_info)
 Set up the basics of the client connection: socket and shared mem. More...
 
void ipc_client_connection_fini (struct ipc_connection *ipc_c)
 Tear down the basics of the client connection: socket and shared mem. More...
 

Detailed Description

Just the client connection setup/teardown bits.

Author
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m
Rylie Pavlik rylie.nosp@m..pav.nosp@m.lik@c.nosp@m.olla.nosp@m.bora..nosp@m.com