drms_record_ex1.c

int drms_close (DRMS_Env_t *env, int action) 
{
   int status;

   if ((status = drms_closeall_records(env,action)))
   {
      fprintf(stderr, "ERROR in drms_close: failed to close records in cache.\n");
   }

   /*  Close connection to database  */
   drms_disconnect(env, 0);
   drms_free_env(env);
   return status;
}

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