queries the DRMS database to determine if series1 and series2 are compatible in terms of their primary-keyword and segment definitions. Two primary keyword definitions "match" if the type, recscope, and per_segment DRMS_Keyword_t fields are equal. drms_segment_segsmatch is used to determine if two segment definitions "match". If all primary keywords and at least one segment match and no error occurs, the function intializes matchSegs and allocates one HContainer_t element for each segment that the two series have in common. Each HContainer_t element is a string that names the matching segment. The caller must provide a non-NULL matchSegs container to the function. It is the caller's responsibility to deallocate memory associated with the allocation of HContainer_t elements.
Definition at line 4091 of file drms_series.c.
|