/[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.5, Wed Jan 9 00:28:36 2002 UTC revision 1.8, Fri Mar 14 01:38:39 2003 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  } tag_t;  } tag_t;
46    
47  typedef struct __tags_t  typedef struct __tags_t
# Line 46  Line 50 
50          int     ntags;          int     ntags;
51  } tags_t;  } tags_t;
52    
53    typedef struct __merge_t
54    {
55            tag_t   *to;    /* This tag is destination of a merge */
56            tag_t   *from;  /* This tag is origin of a merge */
57    } merge_t;
58    
59  typedef struct __idrev_t  typedef struct __idrev_t
60  {  {
61          char    *id;          char    *id;
# Line 94  Line 104 
104          int     ndeltas;          int     ndeltas;
105  } deltas_t;  } deltas_t;
106    
 struct __revision_t;    /* Forward */  
   
107  typedef struct __branch_t       /* Logical branch structure */  typedef struct __branch_t       /* Logical branch structure */
108  {  {
109          struct __revision_t     **revs;          struct __revision_t     **revs;
110          int                     nrevs;          int                     nrevs;
111          struct __revision_t     *branchpoint;   /* Backlink to revision that spawned the branch */          struct __revision_t     *branchpoint;   /* Backlink to revision that spawned the branch */
112          rev_t                   *branch;/* Branch id */          rev_t                   *branch;        /* Branch id */
113          tag_t                   **tags; /* Symbolic tags */          tag_t                   **tags;         /* Symbolic tags */
114          int                     ntags;          int                     ntags;
115          int                     w, h;   /* BBox width/height */          int                     folded;         /* Set if this branch is folded in another box */
116          int                     cx, y;  /* BBox center-top position */          struct __branch_t       **folds;        /* List of other branches folded into this one */
117          int                     tw, th; /* Total BBox width/height */          int                     nfolds;
118            int                     fw;             /* Max width of the branch number if folds present */
119            int                     w, h;           /* BBox width/height */
120            int                     cx, y;          /* BBox center-top position */
121            int                     tw, th;         /* Total BBox width/height */
122  } branch_t;  } branch_t;
123    
124  typedef struct __revision_t     /* Logical revision structure */  typedef struct __revision_t     /* Logical revision structure */
# Line 152  Line 164 
164          branch_t        **branches;     /* List of branches */          branch_t        **branches;     /* List of branches */
165          branch_t        *active;        /* The active branch (translated branch of admin) */          branch_t        *active;        /* The active branch (translated branch of admin) */
166          int             nbranches;          int             nbranches;
167            merge_t         *merges;        /* Merge tags from->to description */
168            int             nmerges;
169          int             tw, th;         /* Total BBox width/height */          int             tw, th;         /* Total BBox width/height */
170  } rcsfile_t;  } rcsfile_t;
171    

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0