logswan

Fast Web log analyzer using probabilistic data structures
Log | Files | Refs | README | LICENSE

commit 0297fe61a551486a12da033c1b4c23304671754f
parent ee7a0885f9ed538057719a5a672dc113d740f036
Author: Frederic Cambus <fcambus@users.sourceforge.net>
Date:   Tue, 14 Jul 2015 01:01:09 +0200

Moving constants definitions to logswan header file

Diffstat:
Msrc/logswan.c | 4+---
Asrc/logswan.h | 20++++++++++++++++++++
2 files changed, 21 insertions(+), 3 deletions(-)

diff --git a/src/logswan.c b/src/logswan.c @@ -29,13 +29,11 @@ #include <GeoIP.h> +#include "logswan.h" #include "output.h" #include "parse.h" #include "results.h" -#define VERSION "Logswan" -#define LINE_MAX_LENGTH 4096 - GeoIP *geoip, *geoipv6; clock_t begin, end; diff --git a/src/logswan.h b/src/logswan.h @@ -0,0 +1,20 @@ +/*****************************************************************************/ +/* */ +/* Logswan (c) by Frederic Cambus 2015 */ +/* https://github.com/fcambus/logswan */ +/* */ +/* Created: 2015/05/31 */ +/* Last Updated: 2015/07/14 */ +/* */ +/* Logswan is released under the BSD 3-Clause license. */ +/* See LICENSE file for details. */ +/* */ +/*****************************************************************************/ + +#ifndef LOGSWAN_H +#define LOGSWAN_H + +#define VERSION "Logswan" +#define LINE_MAX_LENGTH 4096 + +#endif