//! The object to store the daily statistics.
typedef struct DayStruct *DayObject;
+/*!
+\brief Log filtering criterion.
+*/
+struct ReadLogDataStruct
+{
+ //! The filtering date range.
+ char DateRange[255];
+ //! \c True to filter on hosts.
+ bool HostFilter;
+ //! \c True to filter on users.
+ bool UserFilter;
+ //! Maximum elpased time allowed. Any time greater than this value is set to zero.
+ long int max_elapsed;
+ //! \c True to restrict the log to the system users.
+ bool SysUsers;
+ //! The start time to include in the report(H*100+M). Set to -1 to disable.
+ int StartTime;
+ //! The end time to include in the report(H*100+M). Set to -1 to disable.
+ int EndTime;
+};
+
// auth.c
void htaccess(const struct userinfostruct *uinfo);
// index.c
void make_index(void);
+// readlog.c
+int ReadLogFile(struct ReadLogDataStruct *Filter);
+
// realtime.c
void realtime(void);