186d7f5d3SJohn Marino /* CVS client logging buffer. 286d7f5d3SJohn Marino 386d7f5d3SJohn Marino This program is free software; you can redistribute it and/or modify 486d7f5d3SJohn Marino it under the terms of the GNU General Public License as published by 586d7f5d3SJohn Marino the Free Software Foundation; either version 2, or (at your option) 686d7f5d3SJohn Marino any later version. 786d7f5d3SJohn Marino 886d7f5d3SJohn Marino This program is distributed in the hope that it will be useful, 986d7f5d3SJohn Marino but WITHOUT ANY WARRANTY; without even the implied warranty of 1086d7f5d3SJohn Marino MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1186d7f5d3SJohn Marino GNU General Public License for more details. */ 1286d7f5d3SJohn Marino 1386d7f5d3SJohn Marino 1486d7f5d3SJohn Marino #ifndef LOG_BUFFER_H__ 1586d7f5d3SJohn Marino #define LOG_BUFFER_H__ 1686d7f5d3SJohn Marino 1786d7f5d3SJohn Marino void setup_logfiles (char *var, struct buffer** to_server_p, 1886d7f5d3SJohn Marino struct buffer** from_server_p); 1986d7f5d3SJohn Marino 2086d7f5d3SJohn Marino struct buffer * 2186d7f5d3SJohn Marino log_buffer_initialize (struct buffer *buf, FILE *fp, 2286d7f5d3SJohn Marino # ifdef PROXY_SUPPORT 2386d7f5d3SJohn Marino bool fatal_errors, 2486d7f5d3SJohn Marino size_t max, 2586d7f5d3SJohn Marino # endif /* PROXY_SUPPORT */ 2686d7f5d3SJohn Marino bool input, 2786d7f5d3SJohn Marino void (*memory) (struct buffer *)); 2886d7f5d3SJohn Marino 2986d7f5d3SJohn Marino # ifdef PROXY_SUPPORT 3086d7f5d3SJohn Marino struct buffer *log_buffer_rewind (struct buffer *buf); 3186d7f5d3SJohn Marino void log_buffer_closelog (struct buffer *buf); 3286d7f5d3SJohn Marino # endif /* PROXY_SUPPORT */ 3386d7f5d3SJohn Marino 3486d7f5d3SJohn Marino #endif /* LOG_BUFFER_H__ */ 35