BOOTSTRAP (kcms) functions
LIBRARY ROUTINE
kcms_get_attributes - get multiple attributes from kcms object
LIBRARY CALL
int
kcms_get_attributes(
kobject object,
kvalist)
INPUT
- object - A valid kcms object.
- kvalist - A variable argument list, in the form:
ATTRIBUTE_NAME, &value,
ATTRIBUTE_NAME, &value,
The attribute list must be terminated with the symbol
KCMS_END
to signify the end of the variable argument list.
OUTPUT
none
RETURN VALUE
TRUE (1) on success, FALSE (0) otherwise
DESCRIPTION
This function is used to get one or more attributes from
a kcms object.
Given any kcms object, the following code will determine
the object's type, name, and path:
kobject object;
int type;
kstring path;
kstring name;
kcms_get_attributes(object,
KCMS_TYPE, &type,
KCMS_NAME, &name,
KCMS_PATH, &path,
KCMS_END);
Note: the argument list must be terminated
with the symbol KCMS_END
.
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.