aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2024-07-12 13:33:28 +0200
committerFederico Angelilli <code@fedang.net>2024-07-12 13:33:28 +0200
commite98943f9eb5cea2921969501e52e8c319323ed4c (patch)
treef7879c77e85d4cdea19c53bef2d1ae3dc192c20c /src/util.h
parente45c7bc6b41fbcea84ca51d01b8661f93145ce7a (diff)
Start working on special sections
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index b9c84f2..78d530e 100644
--- a/src/util.h
+++ b/src/util.h
@@ -6,6 +6,15 @@
#include <stdbool.h>
#include <stdio.h>
+typedef struct {
+ char *key;
+ char *value;
+} pair_t;
+
+void pair_copy(pair_t *copy, const pair_t *pair);
+
+void pair_free(pair_t *pair);
+
// Color representation normalized to [0, 1]
//
typedef struct {