00001 /* $Id: gvcommon.h,v 1.7 2006/12/07 22:49:36 erg Exp $ $Revision: 1.7 $ */ 00002 /* vim:set shiftwidth=4 ts=8: */ 00003 00004 /********************************************************** 00005 * This software is part of the graphviz package * 00006 * http://www.graphviz.org/ * 00007 * * 00008 * Copyright (c) 1994-2004 AT&T Corp. * 00009 * and is licensed under the * 00010 * Common Public License, Version 1.0 * 00011 * by AT&T Corp. * 00012 * * 00013 * Information and Software Systems Research * 00014 * AT&T Research, Florham Park NJ * 00015 **********************************************************/ 00016 00017 #ifndef GVCOMMON_H 00018 #define GVCOMMON_H 00019 00020 #ifdef __cplusplus 00021 extern "C" { 00022 #endif 00023 00024 typedef struct GVCOMMON_s { 00025 char *user; 00026 char **info; 00027 char *cmdname; 00028 int verbose; 00029 boolean config, auto_outfile_names; 00030 void (*errorfn) (char *fmt, ...); 00031 char **show_boxes; /* emit code for correct box coordinates */ 00032 char **lib; 00033 00034 /* rendering state */ 00035 int viewNum; /* current view - 1 based count of views, 00036 all pages in all layers */ 00037 } GVCOMMON_t; 00038 00039 #ifdef __cplusplus 00040 } 00041 #endif 00042 #endif /* GVCOMMON_H */