Revert "target: remove unused working area 'user' field"
[fw/openocd] / src / jtag / interfaces.h
1 /***************************************************************************
2  *   Copyright (C) 2005 by Dominic Rath                                    *
3  *   Dominic.Rath@gmx.de                                                   *
4  *                                                                         *
5  *   Copyright (C) 2007,2008 Ã˜yvind Harboe                                 *
6  *   oyvind.harboe@zylin.com                                               *
7  *                                                                         *
8  *   Copyright (C) 2009 SoftPLC Corporation                                *
9  *       http://softplc.com                                                *
10  *   dick@softplc.com                                                      *
11  *                                                                         *
12  *   Copyright (C) 2009 Zachary T Welch                                    *
13  *   zw@superlucidity.net                                                  *
14  *                                                                         *
15  *   This program is free software; you can redistribute it and/or modify  *
16  *   it under the terms of the GNU General Public License as published by  *
17  *   the Free Software Foundation; either version 2 of the License, or     *
18  *   (at your option) any later version.                                   *
19  *                                                                         *
20  *   This program is distributed in the hope that it will be useful,       *
21  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
22  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
23  *   GNU General Public License for more details.                          *
24  *                                                                         *
25  *   You should have received a copy of the GNU General Public License     *
26  *   along with this program; if not, write to the                         *
27  *   Free Software Foundation, Inc.,                                       *
28  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
29  ***************************************************************************/
30
31 #ifndef OPENOCD_JTAG_INTERFACES_H
32 #define OPENOCD_JTAG_INTERFACES_H
33
34 /** @file
35  * Exports the list of JTAG interface drivers, along with routines
36  * for loading and unloading them dynamically from shared libraries.
37  */
38
39 #include <jtag/interface.h>
40
41 /** Dynamically load all JTAG interface modules from specified directory. */
42 void jtag_interface_modules_load(const char *path);
43
44 extern struct jtag_interface *jtag_interfaces[];
45
46 #endif /* OPENOCD_JTAG_INTERFACES_H */