Method
VarlinkServerRegistryadd_interface
Declaration [src]
void
varlink_server_registry_add_interface (
VarlinkServerRegistry* self,
const VarlinkInterface* interface
)
Description [src]
Adds interface to self.
The registry makes a deep copy of interface. Use
varlink_server_registry_add_interface_static() from generated code when
interface has static storage duration and should not be copied.
This method is not directly available to language bindings.
Parameters
interface-
Type:
VarlinkInterfaceA
VarlinkInterface.The data is owned by the caller of the method.