int drms_series_checkrecordcompat ( DRMS_Env_t drmsEnv,
const char *  series,
DRMS_Record_t recTempl,
HContainer_t matchSegs,
int *  status 
)

queries the DRMS database to determine if recTempl is compatible with the series named series in terms of their primary-keyword and segment definitions. The two are compatible if an attempt to insert recTempl into the series named series would succeed. This function should be used whenever a record is created by a means other than drms_create_records or drms_clone_records, and the user will attempt to insert that newly created record into series series.

Returns:
1 if compatible. Upon success, this function sets *status to DRMS_SUCCESS. Otherwise *status is set to a diagostic status code (see drms_statuscodes.h).
Examples:
drms_series_ex3.c.

Definition at line 4129 of file drms_series.c.


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