/[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.11, Sun Aug 15 16:58:22 2004 UTC revision 1.12, Wed Oct 20 22:03:36 2004 UTC
# Line 51  Line 51 
51          int     ntags;          int     ntags;
52  } tags_t;  } tags_t;
53    
54    typedef union __tag_revision_t
55    {
56            tag_t                   *tag;
57            struct __revision_t     *rev;
58    } tag_revision_t;
59    
60    typedef enum __tag_revision_e
61    {
62            TR_INVALID = 0,
63            TR_TAG,
64            TR_REVISION
65    } tag_revision_e;
66    
67  typedef struct __merge_t  typedef struct __merge_t
68  {  {
69          tag_t   *to;    /* This tag is destination of a merge */          tag_revision_e  type;
70          tag_t   *from;  /* This tag is origin of a merge */          tag_revision_t  to;             /* This tag/revision is destination of a merge */
71            tag_revision_t  from;           /* This tag/revision is origin of a merge */
72  } merge_t;  } merge_t;
73    
74  typedef struct __idrev_t  typedef struct __idrev_t
# Line 88  Line 102 
102          int     ndtexts;          int     ndtexts;
103  } dtexts_t;  } dtexts_t;
104    
105    typedef enum __phrase_type_e    /* Extra phrases in deltas */
106    {
107            PT_INVALID = 0,
108            PT_MERGEPOINT           /* CVSNT: mergepoint1 <revision-string> */
109    } phrase_type_e;
110    
111    typedef struct __phrase_t
112    {
113            phrase_type_e   type;
114            rev_t           *rev;
115    } phrase_t;
116    
117    typedef struct __phrases_t
118    {
119            phrase_t        **phrases;
120            int             nphrases;
121    } phrases_t;
122    
123  typedef struct __delta_t  typedef struct __delta_t
124  {  {
125          rev_t   *rev;                   /* Delta revision */          rev_t           *rev;           /* Delta revision */
126          char    *date;          char            *date;
127          char    *author;          char            *author;
128          char    *state;          char            *state;
129          revs_t  *branches;          revs_t          *branches;
130          rev_t   *next;                  /* Next delta in this branch */          rev_t           *next;          /* Next delta in this branch */
131          int     flag;                   /* Set if assigned a branch to prevent infinite recursion */          phrases_t       *phrases;       /* Extra phrases in the delta */
132            phrase_t        *mergepoint;    /* CVSNT: mergepoint1 */
133            int             flag;           /* Set if assigned a branch to prevent infinite recursion */
134  } delta_t;  } delta_t;
135    
136  typedef struct __deltas_t  typedef struct __deltas_t

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

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0