HC_Copy_Segment_With_Mapping
-
Key
HC_Copy_Segment_With_Mapping(char const *source_seg, char const *destination, int count, Key const interesting_keys[], Key copied_keys[]) - Key HC_Copy_Segment_With_Mapping(char const source_seg, char const destination, int count, Key const interesting_keys, Key copied_keys)
Allows the user to provide a list of keys from the segment to be copied, and returns a list of corresponding keys from the resulting copied segment.
HC_Copy_Segment, HC_Include_Segment, HC_Rename_Segment, HC_Open_Segment, HC_Close_Segment, HC_Delete_Segment.Parameters
source_seg: Name of the segment to be copied.
destination: Name of the receiving segment.
count: Size of the interesting_keys array.
interesting_keys: List of keys to be copied.
copied_keys: New identifiers of the created segments. Passed by reference. Returned to user.