From dc793455e9a04be556b0b25eb1513ecbb7be3f51 Mon Sep 17 00:00:00 2001 From: Øyvind Harboe Date: Mon, 11 Jan 2010 15:28:18 +0100 Subject: target: add check_reset hook MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Allow targets to run checks post reset. Used to check that e.g. DCC downloads have been enabled. Signed-off-by: Øyvind Harboe --- src/target/target.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/target/target.h') diff --git a/src/target/target.h b/src/target/target.h index 4151c228..da91d464 100644 --- a/src/target/target.h +++ b/src/target/target.h @@ -2,7 +2,7 @@ * Copyright (C) 2005 by Dominic Rath * * Dominic.Rath@gmx.de * * * - * Copyright (C) 2007,2008,2009 Øyvind Harboe * + * Copyright (C) 2007-9 Øyvind Harboe * * oyvind.harboe@zylin.com * * * * Copyright (C) 2008 by Spencer Oliver * @@ -483,4 +483,6 @@ void target_all_handle_event(enum target_event e); const char *target_strerror_safe(int err); +extern bool get_target_reset_nag(void); + #endif /* TARGET_H */ -- cgit v1.2.3