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:
Peter Hutterer 2020-08-05 16:25:43 +10:00
parent cb976a2f95
commit 69448e247c
3 changed files with 3 additions and 3 deletions

View file

@ -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);

View file

@ -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);

View file

@ -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;