Midas History Functions (hs_xxx)


Functions

INT hs_set_path (char *path)
INT hs_dump (DWORD event_id, DWORD start_time, DWORD end_time, DWORD interval, BOOL binary_time)


Function Documentation

INT hs_dump ( DWORD  event_id,
DWORD  start_time,
DWORD  end_time,
DWORD  interval,
BOOL  binary_time 
)

Display history for a given event at stdout. The output can be redirected to be read by Excel for example.

Parameters:
event_id Event ID
start_time Starting Date/Time
end_time End Date/Time
interval Minimum time in seconds between reported events. Can be used to skip events
binary_time Display DWORD time stamp
Returns:
HS_SUCCESS, HS_FILE_ERROR

Definition at line 1640 of file history.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 49 of file history.c.


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