diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-11-01 21:43:01 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-11-01 21:43:01 +0100 |
commit | 4f41e06880f4d9b979ec001da5046373cd867c2f (patch) | |
tree | f084ed93e8387e3fa814aa17dee80b5a263bf81b /src/globals.h | |
parent | 420d354fffa1e69f050ba32d8521c6d84c4f8dd1 (diff) |
Add -H
Diffstat (limited to 'src/globals.h')
-rw-r--r-- | src/globals.h | 23 |
1 files changed, 15 insertions, 8 deletions
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; |