]> git.sur5r.net Git - openocd/blobdiff - src/jtag/interface.h
transport selection tweaks
[openocd] / src / jtag / interface.h
index 0d474049e4860f1f22dc3c2230f431bb91460e71..3226944e3f5b5ea04f51989f35a10d597c7d3559 100644 (file)
@@ -206,6 +206,9 @@ struct jtag_interface {
        unsigned supported;
 #define DEBUG_CAP_TMS_SEQ      (1 << 0)
 
+       /** transports supported in C code (NULL terminated vector) */
+       const char **transports;
+
        /**
         * Execute queued commands.
         * @returns ERROR_OK on success, or an error code on failure.
@@ -289,4 +292,6 @@ struct jtag_interface {
 };
 
 
+extern const char *jtag_only[];
+
 #endif // OPENOCD_JTAG_INTERFACE_H