/misc/src/release/graphviz-2.18-1/src/graphviz-2.18/lib/common/globals.h

Go to the documentation of this file.
00001 /* $Id: globals.h,v 1.32 2008/02/07 17:09:46 ellson Exp $ $Revision: 1.32 $ */
00002 /* vim:set shiftwidth=4 ts=8: */
00003 
00004 /**********************************************************
00005 *      This software is part of the graphviz package      *
00006 *                http://www.graphviz.org/                 *
00007 *                                                         *
00008 *            Copyright (c) 1994-2004 AT&T Corp.           *
00009 *                and is licensed under the                *
00010 *            Common Public License, Version 1.0           *
00011 *                      by AT&T Corp.                      *
00012 *                                                         *
00013 *        Information and Software Systems Research        *
00014 *              AT&T Research, Florham Park NJ             *
00015 **********************************************************/
00016 
00017 /* this is to get the following win32 DLL junk to work.
00018  * if ever tempted to remove this, first please read:
00019  * http://joel.editthispage.com/stories/storyReader$47
00020  */
00021 #ifndef GLOBALS_H
00022 #define GLOBALS_H
00023 
00024 #ifdef _UWIN
00025 #ifndef _POSIX_                 /* ncc doesn't define _POSIX_ */
00026 /* i.e. if this is the win32 build using nmake with CC=ncc (native C) */
00027 /* this was the easiest way to get some simple libc interfaces. */
00028 #include "C:\Program Files\UWIN\usr\include\astwin32.h"
00029 #undef _UWIN                    /* don't assume ANY _UWIN features in the execution environment */
00030 #endif                          /* _POSIX_ */
00031 #endif                          /* _UWIN */
00032 
00033 #ifndef __CYGWIN__
00034 #if defined(_BLD_dotneato) && defined(_DLL)
00035 #   define external __EXPORT__
00036 #endif
00037 #if !defined(_BLD_dotneato) && defined(__IMPORT__)
00038 #   define external __IMPORT__
00039 #endif
00040 #if !defined(_BLD_common) && defined(GVDLL)
00041 #define extern  __declspec(dllimport)
00042 #endif
00043 #endif
00044 
00045 #ifndef external
00046 #   define external   extern
00047 #endif
00048 #ifndef EXTERN
00049 #define EXTERN extern
00050 #endif
00051 
00052 #ifdef __cplusplus
00053 extern "C" {
00054 #endif
00055 
00056     EXTERN char *Version;
00057     EXTERN char **Files;        /* from command line */
00058     EXTERN char **Lib;          /* from command line */
00059     EXTERN char *CmdName;
00060     EXTERN char *specificFlags;
00061     EXTERN char *specificItems;
00062     EXTERN char *Gvfilepath;    /* Path of files allowed in 'shapefile' attrib  (also ps libs) */
00063 
00064 #ifdef WITH_CODEGENS
00065     EXTERN int Output_lang;     /* POSTSCRIPT, DOT, etc. */
00066     EXTERN FILE *Output_file;
00067     EXTERN int Obj;
00068 #endif
00069 
00070     EXTERN unsigned char Verbose;
00071     EXTERN boolean Reduce, MemTest;
00072     EXTERN char *HTTPServerEnVar;
00073     EXTERN char *Output_file_name;
00074     EXTERN int graphviz_errors;
00075     EXTERN int Nop;
00076     EXTERN double PSinputscale;
00077     EXTERN int Syntax_errors;
00078     EXTERN int Show_cnt;
00079     EXTERN char** Show_boxes;   /* emit code for correct box coordinates */
00080     EXTERN int CL_type;         /* NONE, LOCAL, GLOBAL */
00081     EXTERN boolean Concentrate; /* if parallel edges should be merged */
00082     EXTERN double Epsilon;      /* defined in input_graph */
00083     EXTERN int MaxIter;
00084     EXTERN int Ndim;
00085     EXTERN int State;           /* last finished phase */
00086     EXTERN double Initial_dist;
00087     EXTERN double Damping;
00088     EXTERN int Y_invert;        /* invert y in dot & plain output */
00089 
00090     EXTERN attrsym_t
00091         *G_activepencolor, *G_activefillcolor,
00092         *G_selectedpencolor, *G_selectedfillcolor,
00093         *G_visitedpencolor, *G_visitedfillcolor,
00094         *G_deletedpencolor, *G_deletedfillcolor,
00095         *G_peripheries, *G_penwidth;
00096     EXTERN attrsym_t
00097         *N_height, *N_width, *N_shape, *N_color, *N_fillcolor,
00098         *N_activepencolor, *N_activefillcolor,
00099         *N_selectedpencolor, *N_selectedfillcolor,
00100         *N_visitedpencolor, *N_visitedfillcolor,
00101         *N_deletedpencolor, *N_deletedfillcolor,
00102         *N_fontsize, *N_fontname, *N_fontcolor,
00103         *N_label, *N_nojustify, *N_style, *N_showboxes,
00104         *N_sides, *N_peripheries, *N_orientation,
00105         *N_skew, *N_distortion, *N_fixed, *N_imagescale, *N_layer,
00106         *N_group, *N_comment, *N_vertices, *N_z,
00107         *N_penwidth;
00108     EXTERN attrsym_t
00109         *E_weight, *E_minlen, *E_color,
00110         *E_activepencolor, *E_activefillcolor,
00111         *E_selectedpencolor, *E_selectedfillcolor,
00112         *E_visitedpencolor, *E_visitedfillcolor,
00113         *E_deletedpencolor, *E_deletedfillcolor,
00114         *E_fontsize, *E_fontname, *E_fontcolor,
00115         *E_label, *E_dir, *E_style, *E_decorate,
00116         *E_showboxes, *E_arrowsz, *E_constr, *E_layer,
00117         *E_comment, *E_label_float,
00118         *E_samehead, *E_sametail,
00119         *E_arrowhead, *E_arrowtail,
00120         *E_headlabel, *E_taillabel,
00121         *E_labelfontsize, *E_labelfontname, *E_labelfontcolor,
00122         *E_labeldistance, *E_labelangle,
00123         *E_tailclip, *E_headclip,
00124         *E_penwidth;
00125 
00126     EXTERN fdpParms_t fdp_parms;
00127 
00128 #undef external
00129 #undef EXTERN
00130 #undef extern
00131 
00132 #ifdef __cplusplus
00133 }
00134 #endif
00135 #endif

Generated on Mon Mar 31 19:03:24 2008 for Graphviz by  doxygen 1.5.1