diff options
author | lonkaars <loek@pipeframe.xyz> | 2023-02-24 19:11:59 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2023-02-24 19:11:59 +0100 |
commit | f5c8ae2f2d2074d483490e857db5aef8388f06c9 (patch) | |
tree | a76e1985433216a31e112d3f4daccdf19097c06d /src/main.h | |
parent | 5f5c6a410cafaa917ca3ff0a2a95bb1f2db4b980 (diff) |
c interface semi-done
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 15 |
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(); |