summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2002-05-31 18:27:13 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2002-05-31 18:27:13 +0000
commit02f3bdf5ffea2cc70f5ebebbc88ab2c0c9b15f3f (patch)
tree9f6c91cc0075e6cf4980d9096be36378de027795
parent833186b7be118380f3955644d40ab7b0e1e685cf (diff)
downloadtinyproxy-02f3bdf5ffea2cc70f5ebebbc88ab2c0c9b15f3f.tar.gz
tinyproxy-02f3bdf5ffea2cc70f5ebebbc88ab2c0c9b15f3f.zip
Added a boolean "truncate_file" flag for the create_file_safely() function.
-rw-r--r--src/utils.h4
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);