HContainer_t* drms_create_segment_prototypes ( DRMS_Record_t target,
DRMS_Record_t source,
int *  status 
)

A DRMS segment prototype is a DRMS segment to which a DRMS record prototype is linked. Creates DRMS segment prototypes (type DRMS_Segment_t) for the target record prototype (target), using source as a template. The main difference between the DRMS segments in source and those in target is that source could be a record that is a series record template (DRMS_Env_t.series_cache) or a member of the record cache (DRMS_Env_t.record_cache), but target cannot be either of those types of records.

Parameters:
target Output DRMS record prototype which will contain the created DRMS segment prototypes.
source Input DRMS record, which contains source DRMS segments that will be used to initialize the created DRMS segment prototypes.
Returns:
Container pointing to the segment container of target.

Definition at line 176 of file drms_segment.c.


Generated on Mon Mar 26 07:00:50 2018 for JSOC_Documentation by  doxygen 1.5.7.1