diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2002-05-31 18:27:13 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2002-05-31 18:27:13 +0000 |
commit | 02f3bdf5ffea2cc70f5ebebbc88ab2c0c9b15f3f (patch) | |
tree | 9f6c91cc0075e6cf4980d9096be36378de027795 | |
parent | 833186b7be118380f3955644d40ab7b0e1e685cf (diff) | |
download | tinyproxy-02f3bdf5ffea2cc70f5ebebbc88ab2c0c9b15f3f.tar.gz tinyproxy-02f3bdf5ffea2cc70f5ebebbc88ab2c0c9b15f3f.zip |
Added a boolean "truncate_file" flag for the create_file_safely() function.
Diffstat (limited to '')
-rw-r--r-- | src/utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |