gvcommon.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. #pragma once
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16. typedef struct GVCOMMON_s {
  17. char **info;
  18. char *cmdname;
  19. int verbose;
  20. bool config, auto_outfile_names;
  21. void (*errorfn)(const char *fmt, ...);
  22. const char **show_boxes; ///< emit code for correct box coordinates
  23. const char **lib;
  24. /// rendering state
  25. int viewNum; ///< current view - 1 based count of views, all pages in all
  26. ///< layers
  27. const lt_symlist_t *builtins;
  28. int demand_loading;
  29. } GVCOMMON_t;
  30. #ifdef __cplusplus
  31. }
  32. #endif