SUM_t * SUM_open ( char *  server,
char *  db,
int(*)(const char *fmt,...)  history 

A DRMS instance opens a session with SUMS. It gives the server name to connect to, defaults to SUMSERVER env else SUMSERVER define. The db name has been depricated and has no effect. The db will be the one that sum_svc was started with, e.g. sum_svc hmidb. The history is a printf type logging function. Returns a pointer to a SUM handle that is used to identify this user for this session. Returns NULL on failure. Currently the dsix_ptr[] and wd[] arrays are malloc'd to size SUMARRAYSZ (64).

Definition at line 4732 of file sum_open.c.

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