mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
Add g_output_stream_write_all_async()
Similar to the previous patch, this commit contains a minor violation of normal API conventions. See the explanation in the previous commit message. Heavily based on a patch from Ignacio Casal Quinteiro. https://bugzilla.gnome.org/show_bug.cgi?id=737451
This commit is contained in:
@@ -192,6 +192,22 @@ GLIB_AVAILABLE_IN_ALL
|
||||
gssize g_output_stream_write_finish (GOutputStream *stream,
|
||||
GAsyncResult *result,
|
||||
GError **error);
|
||||
|
||||
GLIB_AVAILABLE_IN_2_44
|
||||
void g_output_stream_write_all_async (GOutputStream *stream,
|
||||
const void *buffer,
|
||||
gsize count,
|
||||
int io_priority,
|
||||
GCancellable *cancellable,
|
||||
GAsyncReadyCallback callback,
|
||||
gpointer user_data);
|
||||
|
||||
GLIB_AVAILABLE_IN_2_44
|
||||
gboolean g_output_stream_write_all_finish (GOutputStream *stream,
|
||||
GAsyncResult *result,
|
||||
gsize *bytes_written,
|
||||
GError **error);
|
||||
|
||||
GLIB_AVAILABLE_IN_2_34
|
||||
void g_output_stream_write_bytes_async (GOutputStream *stream,
|
||||
GBytes *bytes,
|
||||
|
Reference in New Issue
Block a user