Method
QmiDevicedelete_all_links
since: 1.28
Declaration [src]
void
qmi_device_delete_all_links (
QmiDevice* self,
const gchar* base_ifname,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Asynchronously deletes all virtual network interfaces that have been previously
created with qmi_device_add_link() in base_ifname.
When the operation is finished callback will be called. You can then call
qmi_device_delete_link_finish() to get the result of the operation.
Available since: 1.28
This method completes asynchronously. Use qmi_device_delete_all_links_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
base_ifname-
Type:
const gchar*The interface where all links are available.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. cancellable-
Type:
GCancellableA
GCancellable, orNULL.The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackA
GAsyncReadyCallbackto call when the operation is finished.The argument can be NULL. user_data-
Type:
gpointerThe data to pass to callback function.
The argument can be NULL.The data is owned by the caller of the method.