aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2020-08-29 20:31:51 +0200
committerKenny Levinsen <kl@kl.wtf>2020-08-29 20:56:42 +0200
commit8b4d139873acfb3351ad335830b2689720d21552 (patch)
treee2ea9c432c55ea2dc261e8699bc6ed8f400a3c41 /include
parent69d57aaf332268e3dea8795c2b9f091059f3b5b4 (diff)
libseat: Improve logging with seatd conn helpers
Add helpers around connection access to have all logging centralized and reduce code duplication. Improve existing helpers to further reduce code duplication. The seatd backend should have much better logging after this.
Diffstat (limited to 'include')
-rw-r--r--include/connection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/connection.h b/include/connection.h
index 3e15403..d32e766 100644
--- a/include/connection.h
+++ b/include/connection.h
@@ -28,7 +28,7 @@ int connection_put_fd(struct connection *connection, int fd);
size_t connection_pending(struct connection *connection);
int connection_get(struct connection *connection, void *dst, size_t count);
-int connection_get_fd(struct connection *connection);
+int connection_get_fd(struct connection *connection, int *fd);
void connection_restore(struct connection *connection, size_t count);
void connection_close_fds(struct connection *connection);