summaryrefslogtreecommitdiff
path: root/cvsps_types.h
diff options
context:
space:
mode:
authorYann Dirson <ydirson@altern.org>2006-04-11 17:26:12 +0200
committerYann Dirson <ydirson@altern.org>2007-05-12 00:01:41 +0200
commit9a096c852b5df000620cfd2ec7afb2e9312d415a (patch)
tree798aa73fd9fb4c11c4a66e055364a09adfaa2507 /cvsps_types.h
parenteb4b9ba691b7815db33e290757903a524ddeaba7 (diff)
downloadcvsps-9a096c852b5df000620cfd2ec7afb2e9312d415a.tar.gz
Allow to have multiple tags on a single patchset.dev/multitag
Still misses: - cache reading for "tags:" line (CACHE_NEED_PS_TAG)
Diffstat (limited to 'cvsps_types.h')
-rw-r--r--cvsps_types.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/cvsps_types.h b/cvsps_types.h
index dba145d..74c3cd8 100644
--- a/cvsps_types.h
+++ b/cvsps_types.h
@@ -21,6 +21,7 @@ typedef struct _PatchSetRange PatchSetRange;
typedef struct _CvsFileRevision CvsFileRevision;
typedef struct _GlobalSymbol GlobalSymbol;
typedef struct _Tag Tag;
+typedef struct _TagName TagName;
struct _CvsFileRevision
{
@@ -112,8 +113,7 @@ struct _PatchSet
time_t max_date;
char *descr;
char *author;
- char *tag;
- int tag_flags;
+ struct list_head tags;
char *branch;
char *ancestor_branch;
struct list_head members;
@@ -159,4 +159,11 @@ struct _Tag
struct list_head rev_link;
};
+struct _TagName
+{
+ char * name;
+ int flags;
+ struct list_head link;
+};
+
#endif /* CVSPS_TYPES_H */