mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-02-16 14:20:31 +01:00
libeis: rename to eis_setup_backend_socket()
Now that the backend is more of an implementation detail, namespace for eis_setup_backend_foo() Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
cb976a2f95
commit
69448e247c
3 changed files with 3 additions and 3 deletions
|
|
@ -92,7 +92,7 @@ listener_dispatch(struct source *source, void *data)
|
|||
}
|
||||
|
||||
_public_ int
|
||||
eis_socket_init(struct eis *eis, const char *socketpath)
|
||||
eis_setup_backend_socket(struct eis *eis, const char *socketpath)
|
||||
{
|
||||
assert(eis);
|
||||
assert(!eis->backend);
|
||||
|
|
|
|||
|
|
@ -141,7 +141,7 @@ eis_dbus_init(struct eis *ctx);
|
|||
* If the path does not start with / it is relative to $XDG_RUNTIME_DIR.
|
||||
*/
|
||||
int
|
||||
eis_socket_init(struct eis *ctx, const char *path);
|
||||
eis_setup_backend_socket(struct eis *ctx, const char *path);
|
||||
|
||||
int
|
||||
eis_get_fd(struct eis *eis);
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ int main(int argc, char **argv)
|
|||
|
||||
signal(SIGINT, sighandler);
|
||||
|
||||
int rc = eis_socket_init(eis, socketpath);
|
||||
int rc = eis_setup_backend_socket(eis, socketpath);
|
||||
if (rc != 0) {
|
||||
fprintf(stderr, "init failed: %s\n", strerror(errno));
|
||||
return 1;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue