Skip to Content
The Cooperative Association for Internet Data Analysis
DONATE
CONTACT US
HOME
RESEARCH
DATA
TOOLS
PUBLICATIONS
WORKSHOPS
PROJECTS
FUNDING
www.caida.org
>
tools
:
measurement
:
corsaro
: docs
corsaro_log.h
Go to the documentation of this file.
1
/*
2
* corsaro
3
*
4
* Alistair King, CAIDA, UC San Diego
5
* corsaro-info@caida.org
6
*
7
* Copyright (C) 2012 The Regents of the University of California.
8
*
9
* This file is part of corsaro.
10
*
11
* corsaro 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 3 of the License, or
14
* (at your option) any later version.
15
*
16
* corsaro 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.
20
*
21
* You should have received a copy of the GNU General Public License
22
* along with corsaro. If not, see <http://www.gnu.org/licenses/>.
23
*
24
*/
25
26
#ifndef __CORSARO_LOG_H
27
#define __CORSARO_LOG_H
28
29
#include "config.h"
30
31
#include "
corsaro_int.h
"
32
#include "
corsaro_file.h
"
33
51
void
corsaro_log_va(
const
char
*func,
corsaro_t
*
corsaro
,
52
const
char
*format, va_list args);
53
63
void
corsaro_log(
const
char
*func,
corsaro_t
*
corsaro
,
const
char
*format, ...);
64
74
void
corsaro_log_in(
const
char
*func,
corsaro_in_t
*
corsaro
,
const
char
*format, ...);
75
85
void
corsaro_log_file(
const
char
*func,
corsaro_file_t
*logfile,
86
const
char
*format, ...);
87
93
int
corsaro_log_init(
corsaro_t
*
corsaro
);
94
100
int
corsaro_log_in_init(
corsaro_in_t
*
corsaro
);
101
106
void
corsaro_log_close(
corsaro_t
*
corsaro
);
107
112
void
corsaro_log_in_close(
corsaro_in_t
*
corsaro
);
113
114
#endif
/* __CORSARO_LOG_H */