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