sarg
2.4.0
About: SARG ia a Squid Analysis Report Generator.
![]() ![]() |
Go to the source code of this file.
Functions | |
FileObject * | decomp (const char *arq) |
FileObject* decomp | ( | const char * | arq | ) |
Open the log file. If it is compressed, uncompress it with the proper library.
Log files compressed with gzip, bzip2 can be uncompressed if sarg is compiled with the proper library.
If the log file does not exist, the process terminates with an error message.
arq | The log file to process. |
Definition at line 481 of file decomp.c.
References _, debuga(), and FileObject_FdOpen().
Referenced by read_log(), ReadOneLogFile(), splitlog(), and UserAgent_Readlog().