2 /*--------------------------------------------------------------------*/
3 /*--- Private extensions header. priv_extension.h ---*/
4 /*--------------------------------------------------------------------*/
7 This file is part of Valgrind, a dynamic binary instrumentation
10 Copyright (C) IBM Corp. 2024
12 This program is free software; you can redistribute it and/or
13 modify it under the terms of the GNU General Public License as
14 published by the Free Software Foundation; either version 2 of the
15 License, or (at your option) any later version.
17 This program is distributed in the hope that it will be useful, but
18 WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 General Public License for more details.
22 You should have received a copy of the GNU General Public License
23 along with this program; if not, see <http://www.gnu.org/licenses/>.
25 The GNU General Public License is contained in the file COPYING.
28 /* Contributed by Andreas Arnez */
30 #ifndef __PRIV_EXTENSION_H
31 #define __PRIV_EXTENSION_H
33 #include "pub_core_extension.h"
34 #include "pub_core_threadstate.h"
36 enum ExtensionError
ML_(do_client_extension
)(ThreadState
* thread_state
);