~ubuntu-branches/ubuntu/lucid/graphviz/lucid-security

« back to all changes in this revision

Viewing changes to tools/gpr/gprstate.h

  • Committer: Bazaar Package Importer
  • Author(s): Stephen M Moraco
  • Date: 2002-02-05 18:52:12 UTC
  • Revision ID: james.westby@ubuntu.com-20020205185212-8i04c70te00rc40y
Tags: upstream-1.7.16
ImportĀ upstreamĀ versionĀ 1.7.16

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef GPRSTATE_H
 
2
#define GPRSTATE_H
 
3
 
 
4
#include <stdio.h>
 
5
#include <agraph.h>
 
6
#include <ast.h>
 
7
#include <vmalloc.h>
 
8
 
 
9
typedef enum {TV_flat, TV_dfs} trav_type;
 
10
 
 
11
typedef struct {
 
12
  Agraph_t*    curgraph;
 
13
  Agraph_t*    target;
 
14
  Agraph_t*    outgraph;
 
15
  Agobj_t*     curobj;
 
16
  Sfio_t*      tmp;  
 
17
  char*        tgtname;
 
18
  FILE*        outFile;
 
19
  trav_type    tvt;
 
20
  int          name_used;
 
21
} Gpr_t;
 
22
 
 
23
extern Gpr_t* openGPRState ();
 
24
extern void initGPRState (Gpr_t*, Vmalloc_t*, FILE*);
 
25
extern int  validTVT(int);
 
26
 
 
27
#endif