Method
GioIOStreamsplice_async
Declaration
void
g_io_stream_splice_async (
GIOStream* stream1,
GIOStream* stream2,
GIOStreamSpliceFlags flags,
int io_priority,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description
Asynchronously splice the output stream of stream1
to the input stream of
stream2
, and splice the output stream of stream2
to the input stream of
stream1
.
When the operation is finished callback
will be called.
You can then call g_io_stream_splice_finish()
to get the
result of the operation.
Available since: | 2.28 |
Parameters
stream2 |
GIOStream |
A |
|
The data is owned by the caller of the function. | |
flags |
GIOStreamSpliceFlags |
A set of |
|
io_priority |
int |
The io priority of the request. |
|
cancellable |
GCancellable |
Optional |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
callback |
GAsyncReadyCallback |
A |
|
The argument can be NULL . | |
user_data |
gpointer |
User data passed to |
|
The argument can be NULL . | |
The data is owned by the caller of the function. |