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