Monado OpenXR Runtime
ipc_server_mainloop_android.h
Go to the documentation of this file.
1 // Copyright 2020-2021, Collabora, Ltd.
2 // SPDX-License-Identifier: BSL-1.0
3 /*!
4  * @file
5  * @brief Additional server entry points needed for Android.
6  * @author Rylie Pavlik <rylie.pavlik@collabora.com>
7  * @ingroup ipc_server
8  */
9 
10 #pragma once
11 
12 #include "ipc_server.h"
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
18 /*!
19  * Pass an fd for a new client to the mainloop.
20  *
21  * @see ipc_design
22  * @public @memberof ipc_server_mainloop
23  */
24 int
25 ipc_server_mainloop_add_fd(struct ipc_server *vs, struct ipc_server_mainloop *ml, int newfd);
26 
27 
28 #ifdef __cplusplus
29 }
30 #endif
Common server side code.
Platform-specific mainloop object for the IPC server.
Definition: ipc_server.h:173
int ipc_server_mainloop_add_fd(struct ipc_server *vs, struct ipc_server_mainloop *ml, int newfd)
Pass an fd for a new client to the mainloop.
Definition: ipc_server_mainloop_android.c:186
Main IPC object for the server.
Definition: ipc_server.h:315