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:
Øyvind Harboe
2010-01-11 15:28:18 +01:00
parent 3e33393078
commit dc793455e9
3 changed files with 46 additions and 1 deletions

View File

@@ -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 */