From 4f41e06880f4d9b979ec001da5046373cd867c2f Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 1 Nov 2024 21:43:01 +0100 Subject: Add -H --- src/globals.h | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'src/globals.h') diff --git a/src/globals.h b/src/globals.h index 1285db3..f0ed91b 100644 --- a/src/globals.h +++ b/src/globals.h @@ -15,15 +15,22 @@ typedef struct { #endif } op_t; +enum { + HDR_NEVER, + HDR_MULTI, + HDR_ALWAYS, +}; + typedef struct { - bool b : 1; - bool c : 1; - bool i : 1; - bool l : 1; - bool p : 1; - bool s : 1; - bool U : 1; - bool z : 1; + bool b : 1; + bool c : 1; + unsigned H : 2; + bool i : 1; + bool l : 1; + bool p : 1; + bool s : 1; + bool U : 1; + bool z : 1; #if !GIT_GRAB bool do_header : 1; -- cgit v1.2.3