aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
blob: 8e94f18a5cc3489ed7652dcda7e759655ad73105 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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();