Merge pull request #56 from wuruilong01/master
[prads.git] / src / output-plugins / log_file.h
blob12ba2565699dc05ca8557392d48a03330ccd1485
1 /*
2 ** This file is a part of PRADS.
3 **
4 ** Copyright (C) 2009, Redpill Linpro
5 ** Copyright (C) 2009, Edward Fjellskål <edward.fjellskaal@redpill-linpro.com>
6 ** Copyright (C) 2011, Kacper Wysocki <kacper.wysocki@redpill-linpro.com>
7 **
8 ** This program is free software; you can redistribute it and/or modify
9 ** it under the terms of the GNU General Public License as published by
10 ** the Free Software Foundation; either version 2 of the License, or
11 ** (at your option) any later version.
13 ** This program is distributed in the hope that it will be useful,
14 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
15 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 ** GNU General Public License for more details.
18 ** You should have received a copy of the GNU General Public License
19 ** along with this program; if not, write to the Free Software
20 ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23 /* P R O T O T Y P E S ******************************************************/
24 output_plugin *init_log_file();
25 int init_output_log_file (output_plugin *p, const char *c, int flags);
26 void read_report_file (output_plugin *p);
27 int parse_raw_report (bstring line);
28 void file_os(output_plugin*,asset *main, os_asset *os, connection*);
29 void file_service(output_plugin*,asset *main, serv_asset *service, connection*);
30 void file_arp(output_plugin*, asset *main);
31 int end_output_log_file (output_plugin*);