summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-05-11 16:36:47 +0100
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-05-12 16:49:26 +0100
commit23dddb10b955327c260bd392fa451db7265f76f7 (patch)
treee3ced557b53e1ae7c98c822d9694fafc695eb584 /lib
parentda98e9b732f2cb473a9327acc8d9030a3903a074 (diff)
export gibber_fd_transport_read
Diffstat (limited to 'lib')
-rw-r--r--lib/gibber/gibber-fd-transport.c4
-rw-r--r--lib/gibber/gibber-fd-transport.h5
2 files changed, 6 insertions, 3 deletions
diff --git a/lib/gibber/gibber-fd-transport.c b/lib/gibber/gibber-fd-transport.c
index faf0c107..8babcfc0 100644
--- a/lib/gibber/gibber-fd-transport.c
+++ b/lib/gibber/gibber-fd-transport.c
@@ -100,8 +100,6 @@ gibber_fd_transport_init (GibberFdTransport *self)
static void gibber_fd_transport_dispose (GObject *object);
static void gibber_fd_transport_finalize (GObject *object);
-static GibberFdIOResult gibber_fd_transport_read (GibberFdTransport *transport,
- GIOChannel *channel, GError **error);
static GibberFdIOResult gibber_fd_transport_write (
GibberFdTransport *fd_transport, GIOChannel *channel, const guint8 *data,
int len, gsize *written, GError **error);
@@ -386,7 +384,7 @@ gibber_fd_transport_write (GibberFdTransport *fd_transport,
#define BUFSIZE 1024
-static GibberFdIOResult
+GibberFdIOResult
gibber_fd_transport_read (GibberFdTransport *transport,
GIOChannel *channel, GError **error)
{
diff --git a/lib/gibber/gibber-fd-transport.h b/lib/gibber/gibber-fd-transport.h
index 813947fd..0b852d5f 100644
--- a/lib/gibber/gibber-fd-transport.h
+++ b/lib/gibber/gibber-fd-transport.h
@@ -87,6 +87,11 @@ GType gibber_fd_transport_get_type (void);
void
gibber_fd_transport_set_fd (GibberFdTransport *fd_transport, int fd);
+
+GibberFdIOResult gibber_fd_transport_read (GibberFdTransport *transport,
+ GIOChannel *channel,
+ GError **error);
+
G_END_DECLS
#endif /* #ifndef __GIBBER_FD_TRANSPORT_H__*/