summaryrefslogtreecommitdiff
path: root/lib/gibber/gibber-transport.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gibber/gibber-transport.h')
-rw-r--r--lib/gibber/gibber-transport.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gibber/gibber-transport.h b/lib/gibber/gibber-transport.h
index 82f40908..a21ca8c1 100644
--- a/lib/gibber/gibber-transport.h
+++ b/lib/gibber/gibber-transport.h
@@ -54,6 +54,7 @@ struct _GibberTransportClass {
void (*disconnect) (GibberTransport *transport);
gboolean (*get_sockaddr) (GibberTransport *transport,
struct sockaddr_storage *addr, socklen_t *len);
+ gboolean (*buffer_is_empty) (GibberTransport *transport);
};
struct _GibberTransport {
@@ -113,6 +114,9 @@ void gibber_transport_set_handler(GibberTransport *transport,
gboolean gibber_transport_get_sockaddr (GibberTransport *transport,
struct sockaddr_storage *addr, socklen_t *len);
+gboolean
+gibber_transport_buffer_is_empty (GibberTransport *transport);
+
G_END_DECLS
#endif /* #ifndef __GIBBER_TRANSPORT_H__*/