dbg.h 924 B

123456789101112131415161718192021222324252627282930313233343536
  1. /*************************************************************************
  2. * Copyright (c) 2011 AT&T Intellectual Property
  3. * All rights reserved. This program and the accompanying materials
  4. * are made available under the terms of the Eclipse Public License v1.0
  5. * which accompanies this distribution, and is available at
  6. * https://www.eclipse.org/legal/epl-v10.html
  7. *
  8. * Contributors: Details at https://graphviz.org
  9. *************************************************************************/
  10. #pragma once
  11. #ifdef __cplusplus
  12. extern "C" {
  13. #endif
  14. #ifdef DEBUG
  15. #include <fdpgen/fdp.h>
  16. #include <stdio.h>
  17. #include <cgraph/cgraph.h>
  18. extern void outputGraph(Agraph_t *, FILE *, int);
  19. extern void incInd(void);
  20. extern void decInd(void);
  21. extern void prIndent(void);
  22. extern void dump(graph_t *g, int doAll);
  23. extern void dumpG(graph_t * g, char *fname, int);
  24. #endif
  25. #ifdef __cplusplus
  26. }
  27. #endif