Jelajahi Sumber

(checkpoint_option): Change type to unsigned
(checkpoint_style): New variable.

Sergey Poznyakoff 19 tahun lalu
induk
melakukan
46defea70e
1 mengubah file dengan 9 tambahan dan 1 penghapusan
  1. 9 1
      src/common.h

+ 9 - 1
src/common.h

@@ -129,7 +129,15 @@ GLOBAL enum backup_type backup_type;
 
 
 GLOBAL bool block_number_option;
 GLOBAL bool block_number_option;
 
 
-GLOBAL bool checkpoint_option;
+GLOBAL unsigned checkpoint_option;
+
+enum checkpoint_style
+  {
+    checkpoint_text,
+    checkpoint_dot
+  };
+
+GLOBAL enum checkpoint_style checkpoint_style;
 
 
 /* Specified name of compression program, or "gzip" as implied by -z.  */
 /* Specified name of compression program, or "gzip" as implied by -z.  */
 GLOBAL const char *use_compress_program_option;
 GLOBAL const char *use_compress_program_option;