Updated: October 28, 2024 |
Check if the given control has a specific interface
#include <aoi.h> int32_t AoHasInterface(const AOICtrl_t *ctrl, const char *ifname, const int32_t minver, const int32_t nth);
This function searches for the nth interface (in a zero-based index) in the given control. It is similar to calling AoGetInterface(), but it doesn't return the interface; it only indicates whether it is in the control. The caller doesn't need to hold the control before calling this function.
1 if the specified interface was found in the control, 0 if it wasn't.
QNX Neutrino