~ubuntu-branches/ubuntu/dapper/clamav/dapper-updates

1 by Stephen Gran
Import upstream version 0.73
1
/*
0.1.3 by Stephen Gran
Import upstream version 0.95.1+dfsg
2
 *  Copyright (C) 2007-2009 Sourcefire, Inc.
3
 *
4
 *  Authors: Tomasz Kojm
1 by Stephen Gran
Import upstream version 0.73
5
 *
6
 *  This program is free software; you can redistribute it and/or modify
1.1.6 by Leonel Nunez
Import upstream version 0.92~dfsg
7
 *  it under the terms of the GNU General Public License version 2 as
8
 *  published by the Free Software Foundation.
1 by Stephen Gran
Import upstream version 0.73
9
 *
10
 *  This program is distributed in the hope that it will be useful,
11
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 *  GNU General Public License for more details.
14
 *
15
 *  You should have received a copy of the GNU General Public License
16
 *  along with this program; if not, write to the Free Software
1.1.6 by Leonel Nunez
Import upstream version 0.92~dfsg
17
 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
18
 *  MA 02110-1301, USA.
1 by Stephen Gran
Import upstream version 0.73
19
 */
20
21
#ifndef __OUTPUT_H
22
#define __OUTPUT_H
23
24
#if HAVE_CONFIG_H
25
#include "clamav-config.h"
26
#endif
27
28
#include <stdlib.h>
29
0.1.1 by Stephen Gran
Import upstream version 0.94.dfsg
30
#ifdef __GNUC__
31
int mdprintf(int desc, const char *str, ...) __attribute__((format(printf, 2,3)));
32
#else
1 by Stephen Gran
Import upstream version 0.73
33
int mdprintf(int desc, const char *str, ...);
0.1.1 by Stephen Gran
Import upstream version 0.94.dfsg
34
#endif
1 by Stephen Gran
Import upstream version 0.73
35
0.1.1 by Stephen Gran
Import upstream version 0.94.dfsg
36
#ifdef __GNUC__
37
int logg(const char *str, ...)      __attribute__((format(printf, 1, 2)));
38
#else
1 by Stephen Gran
Import upstream version 0.73
39
int logg(const char *str, ...);
0.1.1 by Stephen Gran
Import upstream version 0.94.dfsg
40
#endif
41
1 by Stephen Gran
Import upstream version 0.73
42
void logg_close(void);
0.10.1 by Michael Tautschnig
Import upstream version 0.94.dfsg.1
43
extern short int logg_verbose, logg_nowarn, logg_lock, logg_time;
1.1.6 by Leonel Nunez
Import upstream version 0.92~dfsg
44
extern unsigned int logg_size;
1 by Stephen Gran
Import upstream version 0.73
45
extern const char *logg_file;
46
47
#if defined(USE_SYSLOG) && !defined(C_AIX)
48
extern short logg_syslog;
49
int logg_facility(const char *name);
50
#endif
51
0.1.1 by Stephen Gran
Import upstream version 0.94.dfsg
52
#ifdef __GNUC__
53
void mprintf(const char *str, ...) __attribute__((format(printf, 1, 2)));
54
#else
1 by Stephen Gran
Import upstream version 0.73
55
void mprintf(const char *str, ...);
0.1.1 by Stephen Gran
Import upstream version 0.94.dfsg
56
#endif
57
0.1.3 by Stephen Gran
Import upstream version 0.95.1+dfsg
58
extern short int mprintf_disabled, mprintf_verbose, mprintf_quiet, mprintf_nowarn, mprintf_stdout, mprintf_send_timeout;
1 by Stephen Gran
Import upstream version 0.73
59
60
#endif