"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/tools/ziproxylogtool.c" between
ziproxy-3.3.1.tar.gz and ziproxy-3.3.2.tar.bz2

About: Ziproxy is a forwarding (non-caching) compressing http proxy server.

ziproxylogtool.c  (ziproxy-3.3.1):ziproxylogtool.c  (ziproxy-3.3.2.tar.bz2)
/* ziproxylogtool.c /* ziproxylogtool.c
* Ziproxy log analyser. * Ziproxy log analyser.
* *
* Ziproxy - the HTTP acceleration proxy * Ziproxy - the HTTP acceleration proxy
* This code is under the following conditions: * This code is under the following conditions:
* *
* --------------------------------------------------------------------- * ---------------------------------------------------------------------
* Copyright (c)2006-2014 Daniel Mealha Cabrita * Copyright (c)2006-2021 Daniel Mealha Cabrita
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
skipping to change at line 556 skipping to change at line 556
} }
break; break;
case 'i': case 'i':
goptions->in_filename = optarg; goptions->in_filename = optarg;
break; break;
case 'o': case 'o':
goptions->out_filename = optarg; goptions->out_filename = optarg;
break; break;
case 'h': case 'h':
fprintf (stderr, "Ziproxy Log Tool 1.1\n" fprintf (stderr, "Ziproxy Log Tool 1.1\n"
"Copyright (c)2006-2014 Daniel Me alha Cabrita\n" "Copyright (c)2006-2021 Daniel Me alha Cabrita\n"
"Licensed under GNU GPL v2 or lat er version. See documentation for details.\n\n" "Licensed under GNU GPL v2 or lat er version. See documentation for details.\n\n"
"Usage: ziproxylogtool <-m <mode> > [-i <filename>] [-o <filename>] [-h] ... [other options]\n\n" "Usage: ziproxylogtool <-m <mode> > [-i <filename>] [-o <filename>] [-h] ... [other options]\n\n"
"GENERAL OPTIONS\n\n" "GENERAL OPTIONS\n\n"
"-m <g|h>, --mode\n\tOutput mode: \n\t\"g\" - Global stats\n\t\"h\" - Per host stats (accesses, in_bytes, out_byte s, compression %%, hostname)\n\t\"f\" - Filter mode (filter log entries accordin g to filtering options)\n\n" "-m <g|h>, --mode\n\tOutput mode: \n\t\"g\" - Global stats\n\t\"h\" - Per host stats (accesses, in_bytes, out_byte s, compression %%, hostname)\n\t\"f\" - Filter mode (filter log entries accordin g to filtering options)\n\n"
"-i <filename>, --in-file\n\tInpu t file (Ziproxy log file). If unspecified, uses stdin.\n\n" "-i <filename>, --in-file\n\tInpu t file (Ziproxy log file). If unspecified, uses stdin.\n\n"
"-o <filename>, --out-file\n\tOut put file (stats output). If unspecified, uses stdout.\n\n" "-o <filename>, --out-file\n\tOut put file (stats output). If unspecified, uses stdout.\n\n"
"-h, --help\n\tDisplay summarized help (this text).\n\n" "-h, --help\n\tDisplay summarized help (this text).\n\n"
"FILTERING OPTIONS (if ommited, w on't apply)\n\n" "FILTERING OPTIONS (if ommited, w on't apply)\n\n"
"-1 <unix epoch>, --epoch-min\n\t Filter entries starting from that epoch.\n\n" "-1 <unix epoch>, --epoch-min\n\t Filter entries starting from that epoch.\n\n"
"-2 <unix epoch>, --epoch-max\n\t Filter entries older than that epoch.\n\n" "-2 <unix epoch>, --epoch-max\n\t Filter entries older than that epoch.\n\n"
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)