oeffis_event_type
Definition: liboeffis.h:208
The main context to interact with liboeffis.
void oeffis_create_session_on_bus(struct oeffis *oeffis, const char *busname, uint32_t devices)
See oeffis_create_session() but this function allows to specify the busname to connect to...
int oeffis_get_eis_fd(struct oeffis *oeffis)
Get a dup() of the file descriptor.
Definition: liboeffis.h:160
struct oeffis * oeffis_new(void *user_data)
Create a new oeffis context.
void * oeffis_get_user_data(struct oeffis *oeffis)
Return the custom data pointer for this context.
The session was closed by the compositor or portal.
Definition: liboeffis.h:211
The RemoteDesktop session was created and an eis fd is available.
Definition: liboeffis.h:210
Request all devices.
Definition: liboeffis.h:157
void oeffis_dispatch(struct oeffis *oeffis)
Process pending events.
Definition: liboeffis.h:158
enum oeffis_event_type oeffis_get_event(struct oeffis *oeffis)
Return the next available event, if any.
void oeffis_create_session(struct oeffis *oeffis, uint32_t devices)
Connect this oeffis instance to a RemoteDesktop session with the given device mask selected...
struct oeffis * oeffis_ref(struct oeffis *oeffis)
Increase the refcount of this struct by one.
int oeffis_get_fd(struct oeffis *oeffis)
liboeffis keeps a single file descriptor for all events.
oeffis_device
The bitmask of devices to request.
Definition: liboeffis.h:145
const char * oeffis_get_error_message(struct oeffis *oeffis)
If the session was OEFFIS_EVENT_DISCONNECTED, return the error message that caused the disconnection...
We were disconnected from the Bus due to an error.
Definition: liboeffis.h:212
No event currently available.
Definition: liboeffis.h:209
void oeffis_set_user_data(struct oeffis *oeffis, void *user_data)
Set a custom data pointer for this context.
struct oeffis * oeffis_unref(struct oeffis *oeffis)
Decrease the refcount of this struct by one.
Definition: liboeffis.h:159