aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h
new file mode 100644
index 0000000..8e94f18
--- /dev/null
+++ b/src/main.h
@@ -0,0 +1,15 @@
+#pragma once
+
+#include <stdbool.h>
+
+extern bool g_hh_run;
+
+/** @brief exec entrypoint */
+int main();
+
+/** @brief setup i/o interfaces */
+void hh_setup();
+/** @brief main loop (sim only) */
+void hh_loop();
+/** @brief stop main loop and cleanup/deinitialize */
+void hh_exit();