BOOTSTRAP (kcms) functions


LIBRARY ROUTINE

kcms_get_indirect_attribute - get indirect attribute from a kcms object

LIBRARY CALL

int 
kcms_get_indirect_attribute(
   kobject   object,
   kvalist)

INPUT

OUTPUT

none

RETURN VALUE

TRUE (1) on success, FALSE (0) otherwise

DESCRIPTION

This function is used to get an attribute from an object which is itself an attribute of an object. A common example is getting the KCMS_PARENT attribute of an object, then getting an attribute from the parent.

The following code will determine the name of the toolbox containing a software object:

   kobject  object;
   kstring  tbname;

kcms_get_indirect_attribute(object, KCMS_PARENT, KCMS_NAME, &tbname);

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$BOOTSTRAP/objects/library/kcms/src/public.c

SEE ALSO

kcms(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.