aboutsummaryrefslogtreecommitdiff
path: root/include/template.h
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2025-07-03 12:20:48 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2025-07-03 12:20:48 +0530
commitb71c27f403d82d5ab1db971887b9bdeae408cd5d (patch)
treec9813e9700131a5a1daa660011771d9a789ddaf5 /include/template.h
parent6e9ecfa50719a15bd9fdd7e786b8d53ad75d3f30 (diff)
(template): maintain a list_t of components instead of just pre & post
Diffstat (limited to 'include/template.h')
-rw-r--r--include/template.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/template.h b/include/template.h
index de36293..82ae180 100644
--- a/include/template.h
+++ b/include/template.h
@@ -1,9 +1,10 @@
#ifndef __TEMPLATE_H
#define __TEMPLATE_H
+#include <list.h>
+
typedef struct {
- char *pre;
- char *post;
+ list_t *components;
} template_t;
template_t *template_create(void);