From 02f3bdf5ffea2cc70f5ebebbc88ab2c0c9b15f3f Mon Sep 17 00:00:00 2001 From: Robert James Kaes Date: Fri, 31 May 2002 18:27:13 +0000 Subject: Added a boolean "truncate_file" flag for the create_file_safely() function. --- src/utils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/utils.h b/src/utils.h index 8506cb5..52fdb3c 100644 --- a/src/utils.h +++ b/src/utils.h @@ -1,4 +1,4 @@ -/* $Id: utils.h,v 1.18 2002-05-23 18:28:12 rjkaes Exp $ +/* $Id: utils.h,v 1.19 2002-05-31 18:27:13 rjkaes Exp $ * * See 'utils.h' for a detailed description. * @@ -30,7 +30,7 @@ extern int send_http_error_message(struct conn_s *connptr); extern int indicate_http_error(struct conn_s* connptr, int number, const char *string); extern void pidfile_create(const char *path); -extern int create_file_safely(const char *filename); +extern int create_file_safely(const char *filename, bool_t truncate_file); extern void rotate_log_files(void); -- cgit v1.2.3