summaryrefslogtreecommitdiff
path: root/gio/giostream.h
diff options
context:
space:
mode:
Diffstat (limited to 'gio/giostream.h')
-rw-r--r--gio/giostream.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/gio/giostream.h b/gio/giostream.h
index 048fd4f10..90283ddbd 100644
--- a/gio/giostream.h
+++ b/gio/giostream.h
@@ -88,6 +88,17 @@ GType g_io_stream_get_type (void) G_GNUC_CONST;
GInputStream * g_io_stream_get_input_stream (GIOStream *stream);
GOutputStream *g_io_stream_get_output_stream (GIOStream *stream);
+void g_io_stream_splice_async (GIOStream *stream1,
+ GIOStream *stream2,
+ GIOStreamSpliceFlags flags,
+ int io_priority,
+ GCancellable *cancellable,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+
+gboolean g_io_stream_splice_finish (GAsyncResult *result,
+ GError **error);
+
gboolean g_io_stream_close (GIOStream *stream,
GCancellable *cancellable,
GError **error);