Use close_handle().
[nssm.git] / io.h
diff --git a/io.h b/io.h
index 2bb6782..31f1e0d 100644 (file)
--- a/io.h
+++ b/io.h
@@ -22,10 +22,14 @@ typedef struct {
   __int64 size;\r
   unsigned long *tid_ptr;\r
   unsigned long *rotate_online;\r
+  bool timestamp_log;\r
+  __int64 line_length;\r
   bool copy_and_truncate;\r
   unsigned long rotate_delay;\r
 } logger_t;\r
 \r
+void close_handle(HANDLE *, HANDLE *);\r
+void close_handle(HANDLE *);\r
 int get_createfile_parameters(HKEY, TCHAR *, TCHAR *, unsigned long *, unsigned long, unsigned long *, unsigned long, unsigned long *, unsigned long, bool *);\r
 int set_createfile_parameter(HKEY, TCHAR *, TCHAR *, unsigned long);\r
 int delete_createfile_parameter(HKEY, TCHAR *, TCHAR *);\r