22 #if HAVE_SYS_RESOURCE_H
23 #include <sys/resource.h>
28 #if HAVE_SYS_DIRENT_H && !HAVE_DIRENT_H
29 #include <sys/dirent.h>
35 #include <sys/socket.h>
44 #include <netinet/in.h>
47 #include <arpa/inet.h>
93 #define _FILE_OFFSET_BITS 64
94 #define MY_FOPEN fopen64
96 #define MY_FOPEN fopen
101 long long int my_atoll (const char *nptr
);
106 char dirname
[MAXLEN
];
123 char parse_out
[MAXLEN
];
126 char datestimes
[MAXLEN
];
127 char ConfigFile
[MAXLEN
];
132 char day
[3], month
[4], year
[5];
138 char RemoveTempFiles
[4];
139 char ReplaceIndex
[256];
141 char OverwriteReport
[4];
143 char RecordsWithoutUser
[20];
145 char MailUtility
[PATH_MAX
];
146 char TopSitesNum
[20];
147 char TopUsersNum
[20];
148 char ExcludeCodes
[256];
149 char TopsitesSortField
[15];
150 char TopsitesSortType
[20];
151 char ReportType
[255];
152 char UserTabFile
[255];
159 char AccessLog
[MAXLEN
];
161 char BgColor
[MAXLEN
];
162 char BgImage
[MAXLEN
];
163 char TxColor
[MAXLEN
];
164 char TxBgColor
[MAXLEN
];
165 char TiColor
[MAXLEN
];
166 char LogoImage
[MAXLEN
];
167 char LogoText
[MAXLEN
];
168 char LogoTextColor
[MAXLEN
];
171 char FontFace
[MAXLEN
];
172 char HeaderColor
[MAXLEN
];
173 char HeaderBgColor
[MAXLEN
];
174 char FontSize
[MAXLEN
];
175 char PasswdFile
[MAXLEN
];
176 char TempDir
[MAXLEN
];
177 char OutputDir
[MAXLEN
];
178 char OutputEmail
[MAXLEN
];
179 char TopuserSortField
[30];
180 char UserSortField
[30];
181 char TopuserSortOrder
[10];
182 char UserSortOrder
[10];
183 char UserAgentLog
[255];
185 char ExcludeHosts
[255];
186 char ExcludeUsers
[255];
188 char PerUserLimitFile
[255];
189 char PerUserLimit
[20];
191 char MaxElapsed
[255];
195 char UserInvalidChar
[255];
197 char GraphDaysBytesBarColor
[255];
199 char PrivacyString
[255];
200 char PrivacyStringColor
[30];
201 char IncludeUsers
[MAXLEN
];
202 char ExcludeString
[MAXLEN
];
203 char SuccessfulMsg
[5];
204 char TopUserFields
[255];
205 char UserReportFields
[255];
206 char DataFile
[MAXLEN
];
207 char DataFileDelimiter
[3];
208 char DataFileFields
[MAXLEN
];
209 char DataFileUrl
[20];
210 char SiteUserTimeDateType
[10];
211 char ShowReadStatistics
[5];
212 char IndexSortOrder
[5];
213 char DansGuardianConf
[MAXLEN
];
214 char DansguardianIgnoreDate
[10];
215 char SquidGuardConf
[MAXLEN
];
216 char SquidGuarddbHome
[255];
217 char SquidGuardLogFormat
[MAXLEN
];
218 char SquidGuardLogAlternate
[MAXLEN
];
219 char SquidguardIgnoreDate
[10];
220 char ShowSargInfo
[5];
221 char BytesInSitesUsersReport
[10];
222 char ShowSargLogo
[5];
223 char ParsedOutputLog
[MAXLEN
];
224 char ParsedOutputLogCompress
[255];
225 char DisplayedValues
[20];
226 char HeaderFontSize
[5];
227 char TitleFontSize
[5];
228 char wwwDocumentRoot
[MAXLEN
];
229 char ExternalCSSFile
[MAXLEN
];
231 char BlockImage
[512];
232 char NtlmUserFormat
[30];
244 char UserAuthentication
[10];
245 char AuthUserFile
[255];
249 char DownloadSuffix
[MAXLEN
];
270 char httplink
[MAXLEN
];
271 char html_old
[MAXLEN
];
281 char RealtimeTypes
[1024];
286 char RealtimeUnauthRec
[15];
293 int dansguardian_count
;
294 int squidguard_count
;
314 int AuthfailReportLimit
;
315 int DeniedReportLimit
;
316 int DownloadReportLimit
;
317 int SiteUsersReportLimit
;
318 int DansGuardianReportLimit
;
319 int SquidGuardReportLimit
;
322 int realtime_refresh
;
323 int realtime_access_log_lines
;
334 long long int nocost
;
343 struct dirent
*direntp
;