aboutsummaryrefslogtreecommitdiff
path: root/src/format.h
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2024-11-18 19:49:51 +0100
committerFederico Angelilli <code@fedang.net>2024-11-18 19:49:51 +0100
commitad0577c0a50013b5cb8105380cba1be06f50df50 (patch)
treef360a2cb7214154fac0fd673afc4787eabf87c6e /src/format.h
parent9df5b01201498081e20bf85a3b80d85f88a0161f (diff)
Add postfix/prefix pairs
Diffstat (limited to 'src/format.h')
-rw-r--r--src/format.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/format.h b/src/format.h
index 69d9fa8..93391ec 100644
--- a/src/format.h
+++ b/src/format.h
@@ -13,6 +13,8 @@ typedef struct {
typedef struct {
const char *key;
uint8_t mark;
+ bool prefix;
+ bool postfix;
} format_pair_t;
bool format_init(format_t *format, const char *string, char delim);