aboutsummaryrefslogtreecommitdiff
path: root/include/template.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-01-30 00:21:59 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-01-30 00:21:59 -0500
commite5c283a230c53f257f868fe4a6b42860bdc0a7a3 (patch)
tree91e2eb34f78ca2e5a5b521cdcda7cbedf44d8833 /include/template.h
parent1b97b06533b20ec54d6ad423a40bdfda26461555 (diff)
downloadstasis-e5c283a230c53f257f868fe4a6b42860bdc0a7a3.tar.gz
Initial commit of template engine code (not hooked up yet)
Diffstat (limited to 'include/template.h')
-rw-r--r--include/template.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/template.h b/include/template.h
new file mode 100644
index 0000000..36d3c2a
--- /dev/null
+++ b/include/template.h
@@ -0,0 +1,16 @@
+//
+// Created by jhunk on 12/17/23.
+//
+
+#ifndef OMC_TEMPLATE_H
+#define OMC_TEMPLATE_H
+
+#include "omc.h"
+
+void tpl_register(char *key, char *ptr);
+void tpl_free();
+char *tpl_getval(char *key);
+char *tpl_render(char *str);
+
+
+#endif //OMC_TEMPLATE_H