9 #if !defined(__AM_HISTORY_H)
10 #define __AM_HISTORY_H
12 #if !defined(__AM_HISTORYSTREAM_H)
13 #include "am_historystream.h"
16 #if !defined(__AM_HISTORYHDR_H)
17 #include "am_historyhdr.h"
20 #if !defined(__AM_HISTORYDATA_H)
21 #include "am_historydata.h"
24 #if !defined(__AM_HISTORYTEXT_H)
25 #include "am_historytext.h"
28 #if !defined(__AM_HISTORYBATCHHDR_H)
29 #include "am_historybatchhdr.h"
32 #if !defined(__AM_HISTORYBATCHSTART_H)
33 #include "am_historybatchstart.h"
36 #if !defined(__AM_HISTORYBATCHSTOP_H)
37 #include "am_historybatchstop.h"
40 #if !defined(__AM_HISTORYPVCONFL_H)
41 #include "am_historypvconfl.h"
44 #if !defined(__AM_HISTORYEND_H)
45 #include "am_historyend.h"
48 #if !defined(__AM_CSV_H)
49 #include "am_csvstream.h"
86 bool scanFileInfo( FILE * historyFp,
87 uint32 activeSliceSize,
89 char * pFirstBatchName,
90 struct tm * pFirstBatchStartTime,
91 struct tm * pFirstBatchStopTime );
110 bool generateCsv( FILE * historyFp,
112 uint32 historyFileTime,
113 uint32 activeSliceSize,
114 const char * serverName,
115 const char * userName,
116 const char * password,
117 const char * dirName,
123 sint32 scanRecord( uint32 activeSliceSize,
125 sint32 * pRecId = NULL,
126 char ** ppBatchName = NULL,
127 char * pBatchName = NULL,
128 time_t * pBatchStartTime = NULL,
129 time_t * pBatchStopTime = NULL );
131 void startPass(
long endOfHeaderPos,
134 time_t * pBatchStartTime,
135 time_t * pBatchStopTime );
138 const char * groupName,
139 const char * pBatchName,
142 char ** pRetFileNameEndTime,
149 const char * dirName,
150 const char * fileName,
151 char * pFileNameEndTime,
153 uint32 historyFileTime,
158 char * csvFileNameTime( time_t timestamp,
159 char * pRetFileNameTime,
163 const char * groupName,
164 const char * pBatchName,
165 time_t batchStartTime,
166 time_t batchStopTime,
168 char ** pRetFileNameEndTime,
189 uint16 m_ConfigsRemaining;
Definition: am_historyend.h:17
Definition: am_history.h:54
Definition: am_historystream.h:23
Definition: am_historybatchstop.h:20
Definition: am_csvstream.h:49
Definition: am_historytext.h:32
Definition: am_archiver.h:90
Definition: am_historydata.h:30
Definition: am_csvstream.h:62
Definition: am_historypvconfl.h:26
Definition: am_historybatchstart.h:20