19 lines
424 B
C
19 lines
424 B
C
#ifndef _BS_INIT_H
|
|
#define _BS_INIT_H
|
|
|
|
#include "config/bs_defines.h"
|
|
|
|
typedef int (*command_call)(jtag_core *jc, int argc, char *argv[]);
|
|
|
|
typedef struct {
|
|
char *name;
|
|
command_call cmd_call;
|
|
} Command;
|
|
|
|
extern Command commands[];
|
|
|
|
int script_print(script_ctx *sctx, enum MSGTYPE typ, char *string, ...);
|
|
void bsexp_init(jtag_core **jc, script_ctx **sctx);
|
|
void bsexp_deinit(jtag_core *jc, script_ctx *sctx);
|
|
|
|
#endif |