/[CvsGraph]/cvsgraph/rcs.h
ViewVC logotype

Diff of /cvsgraph/rcs.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.3, Wed Dec 19 18:10:58 2001 UTC revision 1.11, Sun Aug 15 16:58:22 2004 UTC
# Line 21  Line 21 
21  #ifndef __RCS_H  #ifndef __RCS_H
22  #define __RCS_H  #define __RCS_H
23    
24    struct __revision_t;    /* Forward */
25    
26  typedef struct __rev_t  typedef struct __rev_t
27  {  {
28          char    *branch;          char    *branch;
# Line 36  Line 38 
38    
39  typedef struct __tag_t  typedef struct __tag_t
40  {  {
41          char    *tag;          char                    *tag;
42          rev_t   *rev;          rev_t                   *rev;
43            struct __revision_t     *logrev;        /* backpointer to logical revision */
44            int                     yofs;           /* Internal drawing offset to center of the tag */
45            int                     ignore;         /* This tag is marked ignored for drawing */
46  } tag_t;  } tag_t;
47    
48  typedef struct __tags_t  typedef struct __tags_t
# Line 46  Line 51 
51          int     ntags;          int     ntags;
52  } tags_t;  } tags_t;
53    
54    typedef struct __merge_t
55    {
56            tag_t   *to;    /* This tag is destination of a merge */
57            tag_t   *from;  /* This tag is origin of a merge */
58    } merge_t;
59    
60  typedef struct __idrev_t  typedef struct __idrev_t
61  {  {
62          char    *id;          char    *id;
# Line 94  Line 105 
105          int     ndeltas;          int     ndeltas;
106  } deltas_t;  } deltas_t;
107    
 struct __revision_t;    /* Forward */  
   
108  typedef struct __branch_t       /* Logical branch structure */  typedef struct __branch_t       /* Logical branch structure */
109  {  {
110          struct __revision_t     **revs;          struct __revision_t     **revs;
111          int                     nrevs;          int                     nrevs;
112          struct __revision_t     *branchpoint;   /* Backlink to revision that spawned the branch */          struct __revision_t     *branchpoint;   /* Backlink to revision that spawned the branch */
113          rev_t                   *branch;/* Branch id */          rev_t                   *branch;        /* Branch id */
114          tag_t                   **tags; /* Symbolic tags */          tag_t                   **tags;         /* Symbolic tags */
115          int                     ntags;          int                     ntags;
116          int                     w, h;   /* BBox width/height */          int                     subtree_draw;   /* Set if subtree drawing should draw this branch */
117          int                     cx, y;  /* BBox center-top position */          int                     folded;         /* Set if this branch is folded in another box */
118          int                     tw, th; /* Total BBox width/height */          struct __branch_t       *folded_to;     /* Set to the branch where this one is folded into */
119            struct __branch_t       **folds;        /* List of other branches folded into this one */
120            int                     nfolds;
121            int                     fw;             /* Max width of the branch number if folds present */
122            int                     w, h;           /* BBox width/height */
123            int                     cx, y;          /* BBox center-top position */
124            int                     tw, th;         /* Total BBox width/height */
125  } branch_t;  } branch_t;
126    
127  typedef struct __revision_t     /* Logical revision structure */  typedef struct __revision_t     /* Logical revision structure */
# Line 152  Line 167 
167          branch_t        **branches;     /* List of branches */          branch_t        **branches;     /* List of branches */
168          branch_t        *active;        /* The active branch (translated branch of admin) */          branch_t        *active;        /* The active branch (translated branch of admin) */
169          int             nbranches;          int             nbranches;
170            merge_t         *merges;        /* Merge tags from->to description */
171            int             nmerges;
172          int             tw, th;         /* Total BBox width/height */          int             tw, th;         /* Total BBox width/height */
173  } rcsfile_t;  } rcsfile_t;
174    
175  void set_id(void);      /* Next scan is for an id */  void set_id(void);      /* Next scan is for an id */
176    void set_author(void);  /* Next scan is for an author */
177  void set_sym(void);     /* Next scan is for a symbol */  void set_sym(void);     /* Next scan is for a symbol */
178  void set_skip(void);    /* Everyting until ';' dropped */  void set_skip(void);    /* Everyting until ';' dropped */
179  void set_skipstr(void); /* Next string must be dropped */  void set_skipstr(void); /* Next string must be dropped */

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0