aboutsummaryrefslogtreecommitdiff
path: root/inc/impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'inc/impl.h')
-rw-r--r--inc/impl.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/inc/impl.h b/inc/impl.h
new file mode 100644
index 0000000..115468b
--- /dev/null
+++ b/inc/impl.h
@@ -0,0 +1,23 @@
+// Copyright (c) 2024, Marvin Borner <dev@marvinborner.de>
+// SPDX-License-Identifier: MIT
+
+#ifndef IMPL_H
+#define IMPL_H
+
+#include <stdio.h>
+
+#include <term.h>
+
+typedef struct {
+ const char *name;
+ void (*encode)(Term *, FILE *);
+ Term *(*decode)(FILE *);
+} Impl;
+
+Impl impl_blc(void);
+Impl impl_blc2(void);
+Impl impl_closed(void);
+Impl impl_app(void);
+Impl impl_abs(void);
+
+#endif