Retrieve an extension identified by a key (string) from a device.
#include <wfdqnx/wfdcfg.h>
const struct wfdcfg_keyval* wfdcfg_device_get_extension( const struct wfdcfg_device *device, const char *key)
A handle to the device whose extension(s) you are retrieving
Identifier of extension to retrieve
The extension is valid between the time you create and destroy the device.
Pointer to wfdcfg_keyval if the extension was found; NULL if the extension was not found. It's considered acceptable for a device to have no extensions.