summaryrefslogtreecommitdiff
path: root/src/bytestream-iface.h
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2007-08-31 11:26:45 +0000
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2007-08-31 11:26:45 +0000
commit9ba076e1823b79660f16088df70794bdd3a91afa (patch)
treeafb724c86d6bc3e0cba3f90a20ffd91adddfe295 /src/bytestream-iface.h
parent277b3344ac4dd3a906b3c09cc8ea5d8d0bc492cf (diff)
gabble_bytestream_iface_send now takes a const gchar *
Diffstat (limited to 'src/bytestream-iface.h')
-rw-r--r--src/bytestream-iface.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bytestream-iface.h b/src/bytestream-iface.h
index 395c9de22..327de729a 100644
--- a/src/bytestream-iface.h
+++ b/src/bytestream-iface.h
@@ -48,7 +48,8 @@ struct _GabbleBytestreamIfaceClass {
GTypeInterface parent;
gboolean (*initiation) (GabbleBytestreamIface *bytestream);
- gboolean (*send) (GabbleBytestreamIface *bytestream, guint len, gchar *data);
+ gboolean (*send) (GabbleBytestreamIface *bytestream, guint len,
+ const gchar *data);
void (*close) (GabbleBytestreamIface *bytestream);
void (*accept) (GabbleBytestreamIface *bytestream, LmMessage *msg);
const gchar * (*get_protocol) (GabbleBytestreamIface *bytestream);
@@ -73,7 +74,7 @@ gabble_bytestream_iface_initiation (GabbleBytestreamIface *bytestream);
gboolean
gabble_bytestream_iface_send (GabbleBytestreamIface *bytestream, guint len,
- gchar *data);
+ const gchar *data);
void
gabble_bytestream_iface_close (GabbleBytestreamIface *bytestream);