21 lines
280 B
C
21 lines
280 B
C
#ifndef TB_CONFIG_H_
|
|
#define TB_CONFIG_H_
|
|
typedef struct {
|
|
char *modestr;
|
|
enum {
|
|
MODE_INTERACTIVE = 1,
|
|
MODE_RUNFILE = 2,
|
|
MODE_RUNSTRING = 3,
|
|
} mode;
|
|
|
|
char *filepath;
|
|
|
|
bool logcmds;
|
|
|
|
char *runstring;
|
|
} Config;
|
|
|
|
extern Config CONFIG;
|
|
|
|
#endif // TB_CONFIG_H_
|