vio_has_vendor_feature()
Check if the bit for a vendor-specific feature is set
Synopsis:
#include <qvm/vio.h>bool vio_has_vendor_feature(uint32_t const *feature_bits,
struct vio_vendor_feature const *vfeat)Arguments:
- feature_bits
- An array of bitfields indicating which vendor-specific features will be advertised.
- vfeat
- A pointer to a vio_vendor_feature structure containing the bit position of the vendor feature to check the status of.
Returns:
A boolean value that is true if the given feature bit is set, meaning the feature will be advertised, and false if it's not set.
Page updated:
