diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2007-08-31 11:26:45 +0000 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2007-08-31 11:26:45 +0000 |
commit | 9ba076e1823b79660f16088df70794bdd3a91afa (patch) | |
tree | afb724c86d6bc3e0cba3f90a20ffd91adddfe295 /src/bytestream-iface.h | |
parent | 277b3344ac4dd3a906b3c09cc8ea5d8d0bc492cf (diff) |
gabble_bytestream_iface_send now takes a const gchar *
Diffstat (limited to 'src/bytestream-iface.h')
-rw-r--r-- | src/bytestream-iface.h | 5 |
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); |