From 4deb42ed004f90058856b1d72dda63c4843b3854 Mon Sep 17 00:00:00 2001 From: zwelch Date: Sun, 31 May 2009 11:32:10 +0000 Subject: Add target_examine_one wrapper: - replaces all calls to target->type->examine. git-svn-id: svn://svn.berlios.de/openocd/trunk@1968 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/target/target.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/target/target.h') diff --git a/src/target/target.h b/src/target/target.h index 6e282d9e..1eb1ba1b 100644 --- a/src/target/target.h +++ b/src/target/target.h @@ -406,6 +406,12 @@ extern target_t *get_target(const char *id); */ extern const char *target_get_name(struct target_s *target); +/** + * Examine the specified @a target. + * + * This routine is a wrapper for target->type->examine. + */ +extern int target_examine_one(struct target_s *target); /// @returns @c true if the target has been examined. extern bool target_was_examined(struct target_s *target); /// Sets the @c examined flag for the given target. -- cgit v1.2.3