Method

FwupdPluginUdevDeviceget_slot_depth

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 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

Returns: guint
 

Unsigned integer.