Function
Valentpacket_to_stream
unstable since: 1.0
Declaration [src]
void
valent_packet_to_stream (
GOutputStream* stream,
JsonNode* packet,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
A convenience function for writing a KDE Connect packet to an output stream.
Call valent_packet_to_stream_finish() to get the result.
Available since: 1.0
Parameters
stream-
Type:
GOutputStreamA
GOutputStream.The data is owned by the caller of the function. packet-
Type:
JsonNodeA KDE Connect packet.
The data is owned by the caller of the function. cancellable-
Type:
GCancellableA
GCancellable.The argument can be NULL.The data is owned by the caller of the function. callback-
Type:
GAsyncReadyCallbackA
GAsyncReadyCallback.The argument can be NULL. user_data-
Type:
gpointerUser supplied data.
The argument can be NULL.The data is owned by the caller of the function.