1*e4b17023SJohn Marino /* Streamer hooks. Support for adding streamer-specific callbacks to 2*e4b17023SJohn Marino generic streaming routines. 3*e4b17023SJohn Marino 4*e4b17023SJohn Marino Copyright 2011 Free Software Foundation, Inc. 5*e4b17023SJohn Marino Contributed by Diego Novillo <dnovillo@google.com> 6*e4b17023SJohn Marino 7*e4b17023SJohn Marino This file is part of GCC. 8*e4b17023SJohn Marino 9*e4b17023SJohn Marino GCC is free software; you can redistribute it and/or modify it under 10*e4b17023SJohn Marino the terms of the GNU General Public License as published by the Free 11*e4b17023SJohn Marino Software Foundation; either version 3, or (at your option) any later 12*e4b17023SJohn Marino version. 13*e4b17023SJohn Marino 14*e4b17023SJohn Marino GCC is distributed in the hope that it will be useful, but WITHOUT ANY 15*e4b17023SJohn Marino WARRANTY; without even the implied warranty of MERCHANTABILITY or 16*e4b17023SJohn Marino FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 17*e4b17023SJohn Marino for more details. 18*e4b17023SJohn Marino 19*e4b17023SJohn Marino You should have received a copy of the GNU General Public License 20*e4b17023SJohn Marino along with GCC; see the file COPYING3. If not see 21*e4b17023SJohn Marino <http://www.gnu.org/licenses/>. */ 22*e4b17023SJohn Marino 23*e4b17023SJohn Marino #include "config.h" 24*e4b17023SJohn Marino #include "system.h" 25*e4b17023SJohn Marino #include "coretypes.h" 26*e4b17023SJohn Marino #include "streamer-hooks.h" 27*e4b17023SJohn Marino 28*e4b17023SJohn Marino /* Streamer hooks. */ 29*e4b17023SJohn Marino struct streamer_hooks streamer_hooks; 30*e4b17023SJohn Marino 31*e4b17023SJohn Marino /* Initialize the current set of streamer hooks. */ 32*e4b17023SJohn Marino 33*e4b17023SJohn Marino void streamer_hooks_init(void)34*e4b17023SJohn Marinostreamer_hooks_init (void) 35*e4b17023SJohn Marino { 36*e4b17023SJohn Marino memset (&streamer_hooks, 0, sizeof (streamer_hooks)); 37*e4b17023SJohn Marino } 38