DATASERV (kdataman) functions
LIBRARY ROUTINE
kdms_copy_segment_attributes - copy attributes from a segment in a source object to the segment of a destination object.
LIBRARY CALL
int
kdms_copy_segment_attributes(
kobject sobject,
char *segment,
kobject dobject,
char *dsegment)
INPUT
- sobject - the object to copy from
- segment - the segment to copy from.
If this is NULL, then the
object level attributes will
be copied.
- dobject - the object to copy into
- dsegment - the segment to copy to, if different
than the source segment. If NULL, then
the source segments will be used.
OUTPUT
none
RETURN VALUE
TRUE on success, FALSE otherwise
DESCRIPTION
This routine will copy the list of instantiated
attributes from one segment in one object to
one segment in another. This routine can also
copy the object level attributes, if NULL is
passed in for the source segment name.
The presentation of the given object's segment
size, index order, and data type are set as
the size, index order, and data type of the
destination segment.
Currently, only the physically instantiated
user-attributes are copied.
ADDITIONAL INFORMATION
none
EXAMPLES
none
SIDE EFFECTS
none
RESTRICTIONS
none
MODIFICATION
none
FILES
$DATASERV/objects/library/kdataman/src/attributes.c
SEE ALSO
kdataman(3)
COPYRIGHT
Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.