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

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.