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