mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2025-12-30 00:10:07 +01:00
libeis: add the init bits for a new libeis context for unix sockets
This is the easiest to implement, so let's start with that. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
7f53c30157
commit
a09a99b6d9
1 changed files with 10 additions and 0 deletions
10
src/libeis.h
10
src/libeis.h
|
|
@ -136,6 +136,16 @@ eis_portal_init(struct eis *ctx);
|
|||
int
|
||||
eis_dbus_init(struct eis *ctx);
|
||||
|
||||
struct eis *
|
||||
eis_socket_new_context(void *userdata);
|
||||
|
||||
/**
|
||||
* Initialize the context with a UNIX socket name.
|
||||
* If the path does not start with / it is relative to $XDG_RUNTIME_DIR.
|
||||
*/
|
||||
int
|
||||
eis_socket_init(struct eis *ctx, const char *path);
|
||||
|
||||
int
|
||||
eis_get_fd(struct eis *eis);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue