~ubuntu-branches/ubuntu/karmic/xprobe/karmic

« back to all changes in this revision

Viewing changes to src/interface_con.h

  • Committer: Bazaar Package Importer
  • Author(s): Richard Atterer
  • Date: 2005-02-22 22:54:24 UTC
  • mfrom: (1.2.1 upstream) (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050222225424-6cqy8rr45pkna819
Tags: 0.2.2-1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $Id: interface_con.h,v 1.3 2003/08/20 05:30:16 mederchik Exp $ */
 
2
/*
 
3
** Copyright (C) 2001 Fyodor Yarochkin <fygrave@tigerteam.net>,
 
4
**                    Ofir Arkin       <ofir@sys-security.com>
 
5
**
 
6
** This program is free software; you can redistribute it and/or modify
 
7
** it under the terms of the GNU General Public License as published by
 
8
** the Free Software Foundation; either version 2 of the License, or
 
9
** (at your option) any later version.
 
10
**
 
11
**
 
12
** This program is distributed in the hope that it will be useful,
 
13
** but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15
** GNU General Public License for more details.
 
16
**
 
17
** You should have received a copy of the GNU General Public License
 
18
** along with this program; if not, write to the Free Software
 
19
** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
20
*/
 
21
 
 
22
#ifndef INTERFACE_CON_H
 
23
#define INTERFACE_CON_H
 
24
 
 
25
#include "xprobe.h"
 
26
#include "interface.h"
 
27
 
 
28
class Interface_Con: public Interface {
 
29
    private:
 
30
                FILE *logfile;
 
31
                bool logopened;
 
32
    public:
 
33
        Interface_Con(void);
 
34
        ~Interface_Con(void);
 
35
        void error(const char *, ...);
 
36
        void perror(const char *);
 
37
        void msg(const char *, ...);
 
38
        void log(const char *, ...);
 
39
        void verbose(int, const char *, ...);
 
40
        void debug(unsigned long, const char *, int, const char *, ...);
 
41
};
 
42
 
 
43
#endif /* INTERFACE_H */
 
44