kstring *
kcms_list_get_attribute(
klist *list,
kcms_attr attribute,
int *count)
klist *
)
of kcms objects.
none
The following code will get a list of all library
objects in the design toolbox,
then build an array of strings
which contains the names of the library objects.
toolbox = kcms_open_toolbox("design");
libraries = kcms_get_objects(toolbox, KCMS_LIBRARY);
libnames = kcms_list_get_attribute(libraries, KCMS_NAME, &nlibs);
kobject toolbox;
klist *libraries;
kstring *libnames;
int nlibs;
none
none
$BOOTSTRAP/objects/library/kcms/src/public.c