Method
BirbReadlineread_stream_async
since: 0.9
Declaration [src]
void
birb_readline_read_stream_async (
BirbReadline* readline,
GInputStream* input,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer data
)
Description [src]
Reads a line of text from the given stream.
Available since: 0.9
This method completes asynchronously. Use birb_readline_read_stream_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
input-
Type:
GInputStreamThe input stream to read.
The data is owned by the caller of the method. cancellable-
Type:
GCancellableAn optional cancellable.
The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackAn optional callback.
The argument can be NULL. data-
Type:
gpointerThe user data to pass to the callback.
The argument can be NULL.The data is owned by the caller of the method.