njn | 63ae69a | 2009-05-19 04:23:49 +0000 | [diff] [blame] | 1 | |
| 2 | /*--------------------------------------------------------------------*/ |
| 3 | /*--- Startup: search PATH for an executable ---*/ |
| 4 | /*--- priv_initimg-pathscan.h ---*/ |
| 5 | /*--------------------------------------------------------------------*/ |
| 6 | |
| 7 | /* |
| 8 | This file is part of Valgrind, a dynamic binary instrumentation |
| 9 | framework. |
| 10 | |
Elliott Hughes | ed39800 | 2017-06-21 14:41:24 -0700 | [diff] [blame^] | 11 | Copyright (C) 2006-2017 OpenWorks LLP |
njn | 63ae69a | 2009-05-19 04:23:49 +0000 | [diff] [blame] | 12 | info@open-works.co.uk |
| 13 | |
| 14 | This program is free software; you can redistribute it and/or |
| 15 | modify it under the terms of the GNU General Public License as |
| 16 | published by the Free Software Foundation; either version 2 of the |
| 17 | License, or (at your option) any later version. |
| 18 | |
| 19 | This program is distributed in the hope that it will be useful, but |
| 20 | WITHOUT ANY WARRANTY; without even the implied warranty of |
| 21 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 22 | General Public License for more details. |
| 23 | |
| 24 | You should have received a copy of the GNU General Public License |
| 25 | along with this program; if not, write to the Free Software |
| 26 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA |
| 27 | 02111-1307, USA. |
| 28 | |
| 29 | The GNU General Public License is contained in the file COPYING. |
| 30 | */ |
| 31 | |
| 32 | #ifndef __PRIV_INITIMG_PATHSCAN_H |
sewardj | 7c2f6c1 | 2014-06-20 14:11:27 +0000 | [diff] [blame] | 33 | #define __PRIV_INITIMG_PATHSCAN_H |
njn | 63ae69a | 2009-05-19 04:23:49 +0000 | [diff] [blame] | 34 | |
florian | 535fb1b | 2013-09-15 13:54:34 +0000 | [diff] [blame] | 35 | #include "pub_core_basics.h" // HChar |
| 36 | |
florian | c8b8214 | 2012-11-03 19:18:10 +0000 | [diff] [blame] | 37 | extern const HChar* ML_(find_executable) ( const HChar* exec ); |
njn | 63ae69a | 2009-05-19 04:23:49 +0000 | [diff] [blame] | 38 | |
sewardj | 7c2f6c1 | 2014-06-20 14:11:27 +0000 | [diff] [blame] | 39 | #endif // ndef __PRIV_INITIMG_PATHSCAN_H |