|
|
udi_meta_info(3udi)
Metalanguage initialization structure
#include <udi.h>typedef const struct { udi_mei_ops_vec_template_t *ops_vec_template_list; udi_mei_enumeration_rank_func_t *mei_enumeration_rank; } udi_mei_init_t; udi_mei_init_t udi_meta_info;MEMBERS ops_vec_template_list is a pointer to a list of structures containing information about each type of ops vector supported by this metalanguage.
mei_enumeration_rank is a pointer to a function called by the UDI Management Agent to obtain an enumeration ranking for the specified set of enumeration attributes in accordance with ranking information defined by the Metalanguage specification. The Management Agent will select the device instance with the highest ranking value as the most appropriate driver instance to instantiate to handle the enumerated child.
DESCRIPTION This structure contains information describing the metalanguage-specific properties of control blocks and ops vectors used with the particular metalanguage. The environment uses this information to initialize drivers that use each metalanguage, before executing any code in either driver or metalanguage library.