Explorar el Código

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

Sergey Poznyakoff hace 19 años
padre
commit
46defea70e
Se han modificado 1 ficheros con 9 adiciones y 1 borrados
  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 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.  */
 GLOBAL const char *use_compress_program_option;