aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
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 {