struct simdata_t{ long unsigned int current_clock; }; struct simdata_t *init_simdata(); void free_simdata(struct simdata_t *); enum CPU_STATE_t{ RUNNING, SINGLE_STEPPING, STOPPED };