compiles and works
This commit is contained in:
@@ -27,6 +27,23 @@
|
||||
|
||||
#include "config/bs_defines.h"
|
||||
|
||||
typedef int (* CMD_FUNC)( script_ctx * ctx, char * line);
|
||||
|
||||
typedef struct cmd_list_
|
||||
{
|
||||
const char * command;
|
||||
CMD_FUNC func;
|
||||
const char ** help;
|
||||
}cmd_list;
|
||||
|
||||
typedef struct label_list_
|
||||
{
|
||||
char * label;
|
||||
unsigned int file_offset;
|
||||
}label_list;
|
||||
|
||||
extern cmd_list script_commands_list[];
|
||||
|
||||
script_ctx *jtagcore_initScript(jtag_core *jc);
|
||||
script_ctx * init_script(void * app_ctx, unsigned int flags, void * env);
|
||||
int execute_file_script( script_ctx * ctx, char * filename );
|
||||
|
||||
Reference in New Issue
Block a user