| 1 | /* $Id$ $Revision$ */ |
| 2 | /* vim:set shiftwidth=4 ts=8: */ |
| 3 | |
| 4 | /************************************************************************* |
| 5 | * Copyright (c) 2011 AT&T Intellectual Property |
| 6 | * All rights reserved. This program and the accompanying materials |
| 7 | * are made available under the terms of the Eclipse Public License v1.0 |
| 8 | * which accompanies this distribution, and is available at |
| 9 | * http://www.eclipse.org/legal/epl-v10.html |
| 10 | * |
| 11 | * Contributors: See CVS logs. Details at http://www.graphviz.org/ |
| 12 | *************************************************************************/ |
| 13 | |
| 14 | #ifndef GVCOMMON_H |
| 15 | #define GVCOMMON_H |
| 16 | |
| 17 | #ifdef __cplusplus |
| 18 | extern "C" { |
| 19 | #endif |
| 20 | |
| 21 | typedef struct GVCOMMON_s { |
| 22 | char **info; |
| 23 | char *cmdname; |
| 24 | int verbose; |
| 25 | boolean config, auto_outfile_names; |
| 26 | void (*errorfn) (const char *fmt, ...); |
| 27 | const char **show_boxes; /* emit code for correct box coordinates */ |
| 28 | const char **lib; |
| 29 | |
| 30 | /* rendering state */ |
| 31 | int viewNum; /* current view - 1 based count of views, |
| 32 | all pages in all layers */ |
| 33 | const lt_symlist_t *builtins; |
| 34 | int demand_loading; |
| 35 | } GVCOMMON_t; |
| 36 | |
| 37 | #ifdef __cplusplus |
| 38 | } |
| 39 | #endif |
| 40 | #endif /* GVCOMMON_H */ |
| 41 | |