blob: f876d09d37dc98de86237f3a478864e3cb2e1cb0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
/* CVS client logging buffer.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. */
#ifndef LOG_BUFFER_H__
#define LOG_BUFFER_H__
void setup_logfiles (char *var, struct buffer** to_server_p,
struct buffer** from_server_p);
struct buffer *
log_buffer_initialize (struct buffer *buf, FILE *fp,
# ifdef PROXY_SUPPORT
bool fatal_errors,
size_t max,
# endif /* PROXY_SUPPORT */
bool input,
void (*memory) (struct buffer *));
# ifdef PROXY_SUPPORT
struct buffer *log_buffer_rewind (struct buffer *buf);
void log_buffer_closelog (struct buffer *buf);
# endif /* PROXY_SUPPORT */
#endif /* LOG_BUFFER_H__ */
|