Constructor
SpiceClientGLibChannelnew
Declaration [src]
SpiceChannel*
spice_channel_new (
SpiceSession* s,
int type,
int id
)
Parameters
s-
Type:
SpiceSessionThe
SpiceSessionthe channel is linked to.The data is owned by the caller of the function. type-
Type:
intThe requested SPICECHANNELPRIVATE type.
id-
Type:
intThe channel-id.
Return value
Type: SpiceChannel
A weak reference to SpiceChannel, the session owns the reference.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |