Add target_examine_one wrapper:
[fw/openocd] / src / target / target.h
index 6e282d9ee02fa804d323168e95b311c1835b4661..1eb1ba1b9ac11f5deabaf54b7811c3665a7de596 100644 (file)
@@ -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.