blob: 3dfcc1b20d223e2600ec5f835a40d98f80886596 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef GUI_H
#define GUI_H
#include <err.h>
#include <stdint.h>
struct gui_interface {
err (*step_next)(void);
err (*step_prev)(void);
};
void gui_reg_names(const char *names[], int n);
void gui_reg_update(int reg, uint64_t value);
void gui_instr_push(char *instr);
void gui_instr_pop(void);
void gui_register_interface(struct gui_interface *gui);
void gui_init(void);
#endif
|