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.