Graphviz  2.41.20171026.1811
globals.h
Go to the documentation of this file.
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 /* this is to get the following win32 DLL junk to work.
15  * if ever tempted to remove this, first please read:
16  * http://joel.editthispage.com/stories/storyReader$47
17  */
18 #ifndef GLOBALS_H
19 #define GLOBALS_H
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
25 #ifndef __CYGWIN__
26 #if defined(_BLD_dotneato) && defined(_DLL)
27 # define external __EXPORT__
28 #endif
29 #if !defined(_BLD_dotneato) && defined(__IMPORT__)
30 # define external __IMPORT__
31 #endif
32 #if defined(GVDLL)
33 #if !defined(_BLD_gvc)
34 #define extern __declspec(dllimport)
35 #else
36 #define extern __declspec(dllexport)
37 #endif
38 #endif
39 #endif
40 /*visual studio*/
41 #ifdef _WIN32
42 #ifndef GVC_EXPORTS
43 #define extern __declspec(dllimport)
44 #endif
45 #endif
46 /*end visual studio*/
47 
48 #ifndef external
49 # define external extern
50 #endif
51 #ifndef EXTERN
52 #define EXTERN extern
53 #endif
54 
55  EXTERN char *Version;
56  EXTERN char **Files; /* from command line */
57  EXTERN const char **Lib; /* from command line */
58  EXTERN char *CmdName;
61  EXTERN char *Gvfilepath; /* Per-process path of files allowed in image attributes (also ps libs) */
62  EXTERN char *Gvimagepath; /* Per-graph path of files allowed in image attributes (also ps libs) */
63 
64  EXTERN unsigned char Verbose;
65  EXTERN unsigned char Reduce;
70  EXTERN int Nop;
74  EXTERN char** Show_boxes; /* emit code for correct box coordinates */
75  EXTERN int CL_type; /* NONE, LOCAL, GLOBAL */
76  EXTERN unsigned char Concentrate; /* if parallel edges should be merged */
77  EXTERN double Epsilon; /* defined in input_graph */
79  EXTERN int Ndim;
80  EXTERN int State; /* last finished phase */
81  EXTERN int EdgeLabelsDone; /* true if edge labels have been positioned */
83  EXTERN double Damping;
84  EXTERN int Y_invert; /* invert y in dot & plain output */
85  EXTERN int GvExitOnUsage; /* gvParseArgs() should exit on usage or error */
86 
122  *E_penwidth;
123 
124  extern struct fdpParms_s* fdp_parms;
125 
126 #undef external
127 #undef EXTERN
128 #ifdef extern
129 #undef extern
130 #endif
131 
132 #ifdef __cplusplus
133 }
134 #endif
135 #endif
EXTERN Agsym_t * G_activepencolor
Definition: globals.h:88
EXTERN Agsym_t * E_deletedpencolor
Definition: globals.h:107
EXTERN char * Gvimagepath
Definition: globals.h:62
EXTERN Agsym_t * N_showboxes
Definition: globals.h:95
EXTERN Agsym_t * N_comment
Definition: globals.h:95
EXTERN Agsym_t * N_margin
Definition: globals.h:95
EXTERN Agsym_t * E_labelfontcolor
Definition: globals.h:107
EXTERN Agsym_t * N_selectedpencolor
Definition: globals.h:95
EXTERN Agsym_t * E_deletedfillcolor
Definition: globals.h:107
EXTERN Agsym_t * N_selectedfillcolor
Definition: globals.h:95
EXTERN double Epsilon
Definition: globals.h:77
EXTERN Agsym_t * E_tailclip
Definition: globals.h:107
EXTERN Agsym_t * N_imagepos
Definition: globals.h:95
EXTERN Agsym_t * E_visitedfillcolor
Definition: globals.h:107
EXTERN Agsym_t * N_activefillcolor
Definition: globals.h:95
EXTERN Agsym_t * E_activepencolor
Definition: globals.h:107
EXTERN int State
Definition: globals.h:80
EXTERN Agsym_t * N_fontname
Definition: globals.h:95
EXTERN Agsym_t * N_fontcolor
Definition: globals.h:95
struct fdpParms_s * fdp_parms
Definition: globals.c:33
EXTERN Agsym_t * N_label
Definition: globals.h:95
EXTERN Agsym_t * N_fontsize
Definition: globals.h:95
EXTERN int Nop
Definition: globals.h:70
EXTERN char * HTTPServerEnVar
Definition: globals.h:67
EXTERN Agsym_t * N_height
Definition: globals.h:95
EXTERN Agsym_t * N_peripheries
Definition: globals.h:95
EXTERN Agsym_t * N_fixed
Definition: globals.h:95
EXTERN Agsym_t * E_labelfontname
Definition: globals.h:107
EXTERN Agsym_t * G_visitedfillcolor
Definition: globals.h:88
EXTERN Agsym_t * G_visitedpencolor
Definition: globals.h:88
EXTERN Agsym_t * G_ordering
Definition: globals.h:88
EXTERN char * specificItems
Definition: globals.h:60
EXTERN int graphviz_errors
Definition: globals.h:69
EXTERN Agsym_t * E_labeldistance
Definition: globals.h:107
EXTERN Agsym_t * E_labelangle
Definition: globals.h:107
EXTERN Agsym_t * G_margin
Definition: globals.h:88
EXTERN int GvExitOnUsage
Definition: globals.h:85
EXTERN Agsym_t * E_headlabel
Definition: globals.h:107
EXTERN double Initial_dist
Definition: globals.h:82
EXTERN double Damping
Definition: globals.h:83
EXTERN Agsym_t * E_fontcolor
Definition: globals.h:107
EXTERN Agsym_t * N_skew
Definition: globals.h:95
EXTERN int Y_invert
Definition: globals.h:84
EXTERN Agsym_t * N_gradientangle
Definition: globals.h:95
EXTERN Agsym_t * G_deletedfillcolor
Definition: globals.h:88
EXTERN Agsym_t * E_label_float
Definition: globals.h:107
EXTERN Agsym_t * E_constr
Definition: globals.h:107
EXTERN Agsym_t * N_visitedfillcolor
Definition: globals.h:95
EXTERN Agsym_t * E_sametail
Definition: globals.h:107
EXTERN Agsym_t * G_peripheries
Definition: globals.h:88
EXTERN Agsym_t * G_selectedpencolor
Definition: globals.h:88
EXTERN Agsym_t * E_fillcolor
Definition: globals.h:107
EXTERN int MemTest
Definition: globals.h:66
EXTERN Agsym_t * N_style
Definition: globals.h:95
EXTERN Agsym_t * E_selectedfillcolor
Definition: globals.h:107
EXTERN Agsym_t * E_style
Definition: globals.h:107
EXTERN Agsym_t * E_dir
Definition: globals.h:107
EXTERN Agsym_t * E_activefillcolor
Definition: globals.h:107
EXTERN Agsym_t * E_taillabel
Definition: globals.h:107
EXTERN Agsym_t * N_imagescale
Definition: globals.h:95
EXTERN Agsym_t * E_arrowhead
Definition: globals.h:107
EXTERN Agsym_t * E_xlabel
Definition: globals.h:107
EXTERN Agsym_t * E_showboxes
Definition: globals.h:107
EXTERN Agsym_t * N_deletedfillcolor
Definition: globals.h:95
EXTERN Agsym_t * N_layer
Definition: globals.h:95
EXTERN Agsym_t * E_label
Definition: globals.h:107
EXTERN char * Gvfilepath
Definition: globals.h:61
EXTERN Agsym_t * E_arrowtail
Definition: globals.h:107
EXTERN Agsym_t * N_activepencolor
Definition: globals.h:95
EXTERN Agsym_t * N_xlabel
Definition: globals.h:95
EXTERN Agsym_t * N_vertices
Definition: globals.h:95
EXTERN Agsym_t * N_sides
Definition: globals.h:95
EXTERN Agsym_t * G_activefillcolor
Definition: globals.h:88
EXTERN Agsym_t * N_group
Definition: globals.h:95
EXTERN int Syntax_errors
Definition: globals.h:72
EXTERN int CL_type
Definition: globals.h:75
EXTERN Agsym_t * E_comment
Definition: globals.h:107
EXTERN Agsym_t * N_orientation
Definition: globals.h:95
EXTERN Agsym_t * G_deletedpencolor
Definition: globals.h:88
EXTERN const char ** Lib
Definition: globals.h:57
EXTERN unsigned char Reduce
Definition: globals.h:65
EXTERN Agsym_t * E_visitedpencolor
Definition: globals.h:107
EXTERN Agsym_t * E_minlen
Definition: globals.h:107
EXTERN Agsym_t * N_penwidth
Definition: globals.h:95
EXTERN Agsym_t * G_gradientangle
Definition: globals.h:88
EXTERN Agsym_t * N_color
Definition: globals.h:95
EXTERN Agsym_t * G_selectedfillcolor
Definition: globals.h:88
EXTERN unsigned char Concentrate
Definition: globals.h:76
EXTERN int Show_cnt
Definition: globals.h:73
EXTERN Agsym_t * E_weight
Definition: globals.h:107
EXTERN Agsym_t * N_z
Definition: globals.h:95
EXTERN Agsym_t * E_penwidth
Definition: globals.h:107
EXTERN Agsym_t * E_fontname
Definition: globals.h:107
EXTERN Agsym_t * N_nojustify
Definition: globals.h:95
EXTERN unsigned char Verbose
Definition: globals.h:64
EXTERN Agsym_t * E_color
Definition: globals.h:107
EXTERN char ** Files
Definition: globals.h:56
EXTERN Agsym_t * N_shape
Definition: globals.h:95
EXTERN Agsym_t * E_layer
Definition: globals.h:107
EXTERN Agsym_t * N_ordering
Definition: globals.h:95
EXTERN char ** Show_boxes
Definition: globals.h:74
EXTERN Agsym_t * E_labelfontsize
Definition: globals.h:107
EXTERN char * specificFlags
Definition: globals.h:59
EXTERN Agsym_t * E_headclip
Definition: globals.h:107
EXTERN Agsym_t * G_penwidth
Definition: globals.h:88
EXTERN Agsym_t * E_samehead
Definition: globals.h:107
EXTERN Agsym_t * N_deletedpencolor
Definition: globals.h:95
EXTERN Agsym_t * N_visitedpencolor
Definition: globals.h:95
EXTERN Agsym_t * N_width
Definition: globals.h:95
EXTERN double PSinputscale
Definition: globals.h:71
EXTERN char * CmdName
Definition: globals.h:58
EXTERN Agsym_t * E_fontsize
Definition: globals.h:107
EXTERN Agsym_t * E_decorate
Definition: globals.h:107
EXTERN char * Version
Definition: globals.h:55
EXTERN Agsym_t * E_arrowsz
Definition: globals.h:107
EXTERN Agsym_t * E_selectedpencolor
Definition: globals.h:107
EXTERN int EdgeLabelsDone
Definition: globals.h:81
EXTERN Agsym_t * N_fillcolor
Definition: globals.h:95
EXTERN int MaxIter
Definition: globals.h:78
EXTERN Agsym_t * N_distortion
Definition: globals.h:95
EXTERN int Ndim
Definition: globals.h:79
EXTERN char * Output_file_name
Definition: globals.h:68
#define EXTERN
Definition: globals.h:52