1*e4b17023SJohn Marino /* Interface for high-level plugins in GCC - Parts common between GCC, 2*e4b17023SJohn Marino ICI and high-level plugins. 3*e4b17023SJohn Marino 4*e4b17023SJohn Marino Copyright (C) 2009 Free Software Foundation, Inc. 5*e4b17023SJohn Marino 6*e4b17023SJohn Marino Contributed by INRIA. 7*e4b17023SJohn Marino 8*e4b17023SJohn Marino This file is part of GCC. 9*e4b17023SJohn Marino 10*e4b17023SJohn Marino GCC is free software; you can redistribute it and/or modify it under 11*e4b17023SJohn Marino the terms of the GNU General Public License as published by the Free 12*e4b17023SJohn Marino Software Foundation; either version 3, or (at your option) any later 13*e4b17023SJohn Marino version. 14*e4b17023SJohn Marino 15*e4b17023SJohn Marino GCC is distributed in the hope that it will be useful, but WITHOUT ANY 16*e4b17023SJohn Marino WARRANTY; without even the implied warranty of MERCHANTABILITY or 17*e4b17023SJohn Marino FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 18*e4b17023SJohn Marino for more details. 19*e4b17023SJohn Marino 20*e4b17023SJohn Marino You should have received a copy of the GNU General Public License 21*e4b17023SJohn Marino along with GCC; see the file COPYING3. If not see 22*e4b17023SJohn Marino <http://www.gnu.org/licenses/>. */ 23*e4b17023SJohn Marino 24*e4b17023SJohn Marino #ifndef HIGHLEV_PLUGIN_COMMON_H 25*e4b17023SJohn Marino #define HIGHLEV_PLUGIN_COMMON_H 26*e4b17023SJohn Marino 27*e4b17023SJohn Marino /* Return codes for invoke_plugin_callbacks / call_plugin_event . */ 28*e4b17023SJohn Marino #define PLUGEVT_SUCCESS 0 29*e4b17023SJohn Marino #define PLUGEVT_NO_EVENTS 1 30*e4b17023SJohn Marino #define PLUGEVT_NO_SUCH_EVENT 2 31*e4b17023SJohn Marino #define PLUGEVT_NO_CALLBACK 3 32*e4b17023SJohn Marino 33*e4b17023SJohn Marino #endif /* HIGHLEV_PLUGIN_COMMON_H */ 34