Constructor
SnapdClientnew_from_socket
since: 1.5
Declaration [src]
SnapdClient*
snapd_client_new_from_socket (
GSocket* socket
)
Parameters
socket
-
Type:
GSocket
A
GSocket
that is connected to snapd.The data is owned by the caller of the function.
Return value
Type: SnapdClient
A new SnapdClient
.
The caller of the function takes ownership of the data, and is responsible for freeing it. |