Logo Search packages:      
Sourcecode: webdruid version File versions  Download package

parser.h

/*
    The WebDruid - a web server log analysis program

    Copyright (C) 2003-2004  Fabien Chevalier (fabien@juliana-multimedia.com)

    Original webalizer copyright:
    Copyright (C) 1997-2001  Bradford L. Barrett (brad@mrunix.net)

    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
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version, and provided that the above
    copyright and permission notice is included with all distributed
    copies of this or derived software.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA

    This software uses the gd graphics library, which is copyright by
    Quest Protein Database Center, Cold Spring Harbor Labs.  Please
    see the documentation supplied with the library for additional
    information and license terms, or visit www.boutell.com/gd/ for the
    most recent version of the library and supporting documentation.
*/

#ifndef _PARSER_H
#define _PARSER_H

//TODO : these variables delaration is duplicated : fix this!!

extern unsigned long total_rec    ;                /* Total Records Processed     */
extern unsigned long total_ignore ;                /* Total Records Ignored       */
extern unsigned long total_bad    ;                /* Total Bad Records           */

/******************************************************/
/* PARSE_RECORD                                       */
/******************************************************/

/*
  Fills log_struct given raw log line
  Note that the date&time fields are NOT filled
  by this function
*/

extern int  parse_record(char *, struct log_struct *);

#endif  /* _PARSER_H */

Generated by  Doxygen 1.6.0   Back to index