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