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