streamer-hooks.c 1.1 KB

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