Method

FwupdPluginUdevDeviceget_slot_depth

since: 1.2.4

[]

Declaration [src]

guint
fu_udev_device_get_slot_depth (
  FuUdevDevice* self,
  const gchar* subsystem
)
[]

Description [src]

Determine how far up a chain a given device is.

Available since: 1.2.4

[]

Parameters

subsystem

Type: const gchar*

A subsystem.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
[]

Return value

Type: guint

Unsigned integer.