X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fjtag%2Fcommands.h;h=c0375964cdd30b8d815b6d88352cf8561b3e7967;hb=31100927203a4e9d5e4f8e019b1a9e1c9d7b51c6;hp=da563e908b56c04501492dc913c5d3c341fa4825;hpb=38f8e5eefac748a30a4bf5e9d7a7313c8ae0e4e9;p=openocd.git diff --git a/src/jtag/commands.h b/src/jtag/commands.h index da563e908b..c0375964cd 100644 --- a/src/jtag/commands.h +++ b/src/jtag/commands.h @@ -19,13 +19,11 @@ * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the * - * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 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 @@ -170,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 */