Brief Index      Full Index      I.M. Reference

Copy_Segment_With_Mapping


Functions

 Copy_Segment_With_Mapping (const char *source_seg, const char *destination, int count, const HC_KEY *interesting_keys, HC_KEY *copied_keys)
HC_KEY KCopy_Segment_With_Mapping (const char *source_seg, const char *destination, int count, const HC_KEY *interesting_keys, HC_KEY *copied_keys)

Function Documentation

Copy_Segment_With_Mapping ( const char *  source_seg,
const char *  destination,
int  count,
const HC_KEY *  interesting_keys,
HC_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.

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.

DETAILS

See also:
Copy_Segment, Include_Segment, Rename_Segment, Open_Segment, Close_Segment, Delete_Segment.

HC_KEY KCopy_Segment_With_Mapping ( const char *  source_seg,
const char *  destination,
int  count,
const HC_KEY *  interesting_keys,
HC_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.

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.
Returns:
key Key of the receiving segment.

DETAILS

See also:
Copy_Segment, Include_Segment, Rename_Segment, Open_Segment, Close_Segment, Delete_Segment.

Main Index
Brief Index      Full Index      I.M. Functions