Hcon_Device_Nth_Component_Get()
Abstract
Gets the nth component of a device.
Syntax
Hcon_Device_Nth_Component_Get (dev, n)
| Argument | Type | Description |
|---|---|---|
dev |
HconT_Device * |
the device-of-interest |
n |
int |
the index of the component |
Return Type
HconT_Device *
the nth component of the given device.
Header
hcon.h
Details
Use this function to answer questions such as “What’s the nth card installed in this router?”.
Compare to Hcon_Device_Components_Count_Get().