diff --git a/src/libeis.h b/src/libeis.h index 1e2b4c4..d34575b 100644 --- a/src/libeis.h +++ b/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);