Midas History Functions (hs_xxx)
[The midas.h & midas.c]


Functions

INT hs_set_path (char *path)
INT hs_open_file (time_t ltime, char *suffix, INT mode, int *fh)


Function Documentation

INT hs_open_file time_t  ltime,
char *  suffix,
INT  mode,
int *  fh
 

Open history file belonging to certain date. Internal use only.

Parameters:
ltime Date for which a history file should be opened.
suffix File name suffix like "hst", "idx", "idf"
mode R/W access mode
fh File handle
Returns:
HS_SUCCESS

Definition at line 12703 of file midas.c.

INT hs_set_path char *  path  ) 
 

Sets the path for future history file accesses. Should be called before any other history function is called.

Parameters:
path Directory where history files reside
Returns:
HS_SUCCESS

Definition at line 12676 of file midas.c.


Midas DOC Version 1.9.5 ---- PSI Stefan Ritt ----
Contributions: Pierre-Andre Amaudruz - Sergio Ballestrero - Suzannah Daviel - Doxygen - Peter Green - Qing Gu - Greg Hackman - Gertjan Hofman - Paul Knowles - Rudi Meier - Glenn Moloney - Dave Morris - John M O'Donnell - Konstantin Olchanski - Renee Poutissou - Tamsen Schurman - Andreas Suter - Jan M.Wouters - Piotr Adam Zolnierczuk