Method
FwupdClientadd_connect_func
since: 2.1.8
Declaration [src]
void
fwupd_client_add_connect_func (
FwupdClient* self,
FwupdClientConnectFunc func,
gpointer user_data,
GDestroyNotify user_data_destroy
)
Description [src]
Adds a function to run after the connection has been completed. For example, checking that the client version matches the daemon version.
Available since: 2.1.8
Parameters
func-
Type:
FwupdClientConnectFuncA
FwupdClientConnectFunc. user_data-
Type:
gpointerUserdata to use with both
funcanduser_data_destroy.The argument can be NULL.The data is owned by the caller of the method. user_data_destroy-
Type:
GDestroyNotifyFunction to destroy
user_datawhenselfis finalized.The argument can be NULL.