X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fjtag%2Fcommands.h;h=c0375964cdd30b8d815b6d88352cf8561b3e7967;hp=c9d73893f6e0a825c3eef8e8f8326c6339664007;hb=8b66c96974cafa24ebcd2739aae5e1a5a64fdf22;hpb=d0e763ac7ef6aa17b17bd00ccdfbccfb4eacda69 diff --git a/src/jtag/commands.h b/src/jtag/commands.h index c9d73893f6..c0375964cd 100644 --- a/src/jtag/commands.h +++ b/src/jtag/commands.h @@ -22,8 +22,8 @@ * along with this program. If not, see . * ***************************************************************************/ -#ifndef JTAG_COMMANDS_H -#define JTAG_COMMANDS_H +#ifndef OPENOCD_JTAG_COMMANDS_H +#define OPENOCD_JTAG_COMMANDS_H /** * The inferred type of a scan_command_s structure, indicating whether @@ -168,9 +168,10 @@ void *cmd_queue_alloc(size_t size); void jtag_queue_command(struct jtag_command *cmd); void jtag_command_queue_reset(void); +void jtag_scan_field_clone(struct scan_field *dst, const struct scan_field *src); enum scan_type jtag_scan_type(const struct scan_command *cmd); int jtag_scan_size(const struct scan_command *cmd); int jtag_read_buffer(uint8_t *buffer, const struct scan_command *cmd); int jtag_build_buffer(const struct scan_command *cmd, uint8_t **buffer); -#endif /* JTAG_COMMANDS_H */ +#endif /* OPENOCD_JTAG_COMMANDS_H */