Graphviz  2.29.20120523.0446
lib/fdpgen/dbg.h
Go to the documentation of this file.
00001 /* $Id$ $Revision$ */
00002 /* vim:set shiftwidth=4 ts=8: */
00003 
00004 /*************************************************************************
00005  * Copyright (c) 2011 AT&T Intellectual Property 
00006  * All rights reserved. This program and the accompanying materials
00007  * are made available under the terms of the Eclipse Public License v1.0
00008  * which accompanies this distribution, and is available at
00009  * http://www.eclipse.org/legal/epl-v10.html
00010  *
00011  * Contributors: See CVS logs. Details at http://www.graphviz.org/
00012  *************************************************************************/
00013 
00014 #ifdef __cplusplus
00015 extern "C" {
00016 #endif
00017 
00018 #ifndef FDPDBG_H
00019 #define FDPDBG_H
00020 
00021 #ifdef DEBUG
00022 
00023 #include <fdp.h>
00024 #include <stdio.h>
00025 #include <graph.h>
00026 
00027     extern double Scale;
00028     extern void outputGraph(Agraph_t *, FILE *, int);
00029 
00030     extern void incInd(void);
00031     extern void decInd(void);
00032     extern void prIndent(void);
00033 
00034     extern void dump(graph_t * g, int doAll, int doBB);
00035     extern void dumpE(graph_t * g, int derived);
00036     extern void dumpG(graph_t * g, char *fname, int);
00037 
00038 #endif
00039 
00040 #endif
00041 
00042 #ifdef __cplusplus
00043 }
00044 #endif