target: add check_reset hook
Allow targets to run checks post reset. Used to check that e.g. DCC downloads have been enabled. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user