int drms_series_exists ( DRMS_Env_t drmsEnv,
const char *  sname,
int *  status 
)

queries the DRMS database to determine if the series specified by sname exists.

Returns:
If a null value for sname, or an empty string, is provided, the function returns 0. Otherwise, if sname is a valid series name, but the series does not exist in DRMS, the function returns 0, and sets *status to DRMS_ERROR_UNKNOWNSERIES. If there is an error looking up sname, the function returns 0, and sets *status to the value that would result by calling drms_template_record with sname. If sname is a valid series name, and it names an existing DRMS series, the function returns 1.
Examples:
drms_series_ex1.c.

Definition at line 2236 of file drms_series.c.


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