wfdcfg_keyval
Graphics and Screen4.0 (8.x)OpenWF Configuration Developer's GuideAPIProgramming
Array(s) of this structure are used to allow for extensions
Synopsis:
#include <wfdqnx/wfdcfg.h>
struct wfdcfg_keyval {
const char* key;
long i;
void* p;
} ;
Data:
- const char* key
- Identifier of extension.
- long i
- Data associated with extension.
- void* p
- Data associated with extension.
Library:
libwfdcfgDescription:
Extensions can exist on each of the following:
- device: access these via wfdcfg_device_get_extension().
- port: access these via wfdcfg_port_get_extension().
- mode: access these via wfdcfg_mode_get_extension().
- mode_list: access these via wfdcfg_mode_list_get_extension().
Several Wfdcfg library functions take this structure as an optional argument; certain drivers pass data to the Wfdcfg library using this interface.
The i
and p
members of this
structure depend on the key (when part of an array, an element with key==NULL
marks the end of that array). Unused i
and/or p
fields should be set to 0 or NULL.
Page updated: