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