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>
84 #define _FILE_OFFSET_BITS 64
85 #define MY_FOPEN fopen
87 #define MY_FOPEN fopen
92 long long int my_atoll (const char *nptr
);
114 char parse_out
[MAXLEN
];
117 char datestimes
[MAXLEN
];
118 char ConfigFile
[MAXLEN
];
123 char day
[3], month
[4], year
[5];
129 char RemoveTempFiles
[4];
130 char ReplaceIndex
[256];
132 char OverwriteReport
[4];
134 char RecordsWithoutUser
[20];
137 char TopSitesNum
[20];
138 char TopUsersNum
[20];
139 char ExcludeCodes
[256];
140 char TopsitesSortField
[15];
141 char TopsitesSortType
[20];
142 char ReportType
[255];
143 char UserTabFile
[255];
150 char AccessLog
[MAXLEN
];
152 char BgColor
[MAXLEN
];
153 char BgImage
[MAXLEN
];
154 char TxColor
[MAXLEN
];
155 char TxBgColor
[MAXLEN
];
156 char TiColor
[MAXLEN
];
157 char LogoImage
[MAXLEN
];
158 char LogoText
[MAXLEN
];
159 char LogoTextColor
[MAXLEN
];
162 char FontFace
[MAXLEN
];
163 char HeaderColor
[MAXLEN
];
164 char HeaderBgColor
[MAXLEN
];
165 char FontSize
[MAXLEN
];
166 char PasswdFile
[MAXLEN
];
167 char TempDir
[MAXLEN
];
168 char OutputDir
[MAXLEN
];
169 char OutputEmail
[MAXLEN
];
170 char TopuserSortField
[30];
171 char UserSortField
[30];
172 char TopuserSortOrder
[10];
173 char UserSortOrder
[10];
174 char UserAgentLog
[255];
176 char ExcludeHosts
[255];
177 char ExcludeUsers
[255];
179 char PerUserLimitFile
[255];
180 char PerUserLimit
[20];
182 char MaxElapsed
[255];
186 char UserInvalidChar
[255];
188 char GraphDaysBytesBarColor
[255];
190 char PrivacyString
[255];
191 char PrivacyStringColor
[30];
192 char IncludeUsers
[MAXLEN
];
193 char ExcludeString
[MAXLEN
];
194 char SuccessfulMsg
[5];
195 char TopUserFields
[255];
196 char UserReportFields
[255];
197 char DataFile
[MAXLEN
];
198 char DataFileDelimiter
[3];
199 char DataFileFields
[MAXLEN
];
200 char DataFileUrl
[20];
201 char SiteUserTimeDateType
[10];
202 char ShowReadStatistics
[5];
203 char IndexSortOrder
[5];
204 char DansGuardianConf
[MAXLEN
];
205 char DansguardianIgnoreDate
[10];
206 char SquidGuardConf
[MAXLEN
];
207 char SquidGuarddbHome
[255];
208 char SquidGuardLogFormat
[MAXLEN
];
209 char SquidGuardLogAlternate
[MAXLEN
];
210 char SquidguardIgnoreDate
[10];
211 char ShowSargInfo
[5];
212 char BytesInSitesUsersReport
[10];
213 char ShowSargLogo
[5];
214 char ParsedOutputLog
[MAXLEN
];
215 char ParsedOutputLogCompress
[255];
216 char DisplayedValues
[20];
217 char HeaderFontSize
[4];
218 char TitleFontSize
[5];
219 char wwwDocumentRoot
[MAXLEN
];
220 char ExternalCSSFile
[MAXLEN
];
222 char BlockImage
[512];
223 char NtlmUserFormat
[30];
235 char UserAuthentication
[10];
236 char AuthUserFile
[255];
240 char DownloadSuffix
[MAXLEN
];
262 char httplink
[MAXLEN
];
263 char html_old
[MAXLEN
];
264 char siteind
[MAXLEN
];
274 char download_url
[MAXLEN
];
276 char RealtimeTypes
[1024];
281 char RealtimeUnauthRec
[15];
289 int dansguardian_count
;
290 int squidguard_count
;
310 int AuthfailReportLimit
;
311 int DeniedReportLimit
;
312 int DownloadReportLimit
;
313 int SiteUsersReportLimit
;
314 int DansGuardianReportLimit
;
315 int SquidGuardReportLimit
;
319 int realtime_refresh
;
320 int realtime_access_log_lines
;
334 long long int twork2
;
335 long long int nocost
;
344 struct dirent
*direntp
;