aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/output.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/output.h')
-rw-r--r--src/output.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/output.h b/src/output.h
new file mode 100644
index 0000000..640b457
--- /dev/null
+++ b/src/output.h
@@ -0,0 +1,21 @@
+/* SPDX-License-Identifier: MIT-0 */
+
+#ifndef OUTPUT_H
+#define OUTPUT_H
+
+#include <wchar.h>
+
+#include "deco.h"
+
+#define ASC 0x2197 /* Unicode North East Arrow */
+#define LVL 0x2192 /* Unicode Rightwards Arrow */
+#define DEC 0x2198 /* Unicode South East Arrow */
+#define SWI 0x21BB /* Clockwise Open Circle Arrow */
+
+void print_planhead();
+void print_planline(const wchar_t sign, const double depth, const double time, const double runtime, const gas_t *gas);
+void print_planfoot(const decostate_t *ds);
+
+void scan_gas(gas_t *gas, char *str);
+
+#endif /* end of include guard: OUTPUT_H */