Graphviz  2.29.20120524.0446
lib/gvc/gvcommon.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 #ifndef GVCOMMON_H
00015 #define GVCOMMON_H
00016 
00017 #ifdef __cplusplus
00018 extern "C" {
00019 #endif
00020 
00021     typedef struct GVCOMMON_s {
00022         char **info;
00023         char *cmdname;
00024         int verbose;
00025         boolean config, auto_outfile_names;
00026         void (*errorfn) (const char *fmt, ...);
00027         const char **show_boxes; /* emit code for correct box coordinates */
00028         const char **lib; 
00029 
00030         /* rendering state */
00031         int viewNum;     /* current view - 1 based count of views,
00032                             all pages in all layers */
00033         const lt_symlist_t *builtins;
00034         int demand_loading;
00035     } GVCOMMON_t;
00036 
00037 #ifdef __cplusplus
00038 }
00039 #endif
00040 #endif                          /* GVCOMMON_H */