18 lines
277 B
C
18 lines
277 B
C
#ifndef TERM_TERM_H_
|
|
#define TERM_TERM_H_
|
|
|
|
#include "flanterm.h"
|
|
#include "flanterm_backends/fb.h"
|
|
#include "spinlock/spinlock.h"
|
|
|
|
typedef struct {
|
|
SpinLock spinlock;
|
|
struct flanterm_context *ftctx;
|
|
} Term;
|
|
|
|
extern Term TERM;
|
|
|
|
void term_init(void);
|
|
|
|
#endif // TERM_TERM_H_
|