1
/*************************************************************************
4
* Matt Shelton <matt@mattshelton.com>
6
* This module contains the output mechanism for PADS. It will control
7
* all asset data leaving the application.
9
* Copyright (C) 2004 Matt Shelton <matt@mattshelton.com>
11
* This program is free software; you can redistribute it and/or modify
12
* it under the terms of the GNU General Public License as published by
13
* the Free Software Foundation; either version 2 of the License, or
14
* (at your option) any later version.
16
* This program is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
* GNU General Public License for more details.
21
* You should have received a copy of the GNU General Public License
22
* along with this program; if not, write to the Free Software
23
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
25
* $Id: output-csv.h,v 1.3 2005/02/18 05:39:09 mattshelton Exp $
27
**************************************************************************/
29
/* DEFINES ----------------------------------------- */
37
#endif /* ifdef LINUX */
40
/* INCLUDES ---------------------------------------- */
46
/* TYPEDEFS ---------------------------------------- */
47
typedef struct _OutputCSVConf
54
/* GLOBAL VARIABLES -------------------------------- */
55
/* extern _OutputCSVConf OutputCSVConf; */
58
/* PROTOTYPES -------------------------------------- */
59
int setup_output_csv (void);
60
int init_output_csv (bstring filename);
61
void read_report_file (void);
62
int parse_raw_report (bstring line);
63
int print_asset_csv (Asset *rec);
64
int print_arp_asset_csv (ArpAsset *rec);
65
int end_output_csv (void);