summaryrefslogtreecommitdiff
path: root/tag.h
diff options
context:
space:
mode:
authorDaniel Barkalow <barkalow@iabervon.org>2005-04-28 14:46:33 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-28 14:46:33 (GMT)
commit2636f6143751a064e366cb7763d0705b296726e3 (patch)
tree813a08e7a8591855f047f0f6fa88d0c731356983 /tag.h
parenta510bfaa8c001413f363e0d0b9c6cf15dbcbb7b3 (diff)
downloadgit-2636f6143751a064e366cb7763d0705b296726e3.zip
git-2636f6143751a064e366cb7763d0705b296726e3.tar.gz
git-2636f6143751a064e366cb7763d0705b296726e3.tar.bz2
[PATCH] Add tag header/parser to library
This adds preliminary support for tags in the library. It doesn't even store the signature, however, let alone provide any way of checking it. Signed-Off-By: Daniel Barkalow <barkalow@iabervon.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'tag.h')
-rw-r--r--tag.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/tag.h b/tag.h
new file mode 100644
index 0000000..7ae7864
--- /dev/null
+++ b/tag.h
@@ -0,0 +1,15 @@
+#ifndef TAG_H
+#define TAG_H
+
+#include "object.h"
+
+extern const char *tag_type;
+
+struct tag {
+ struct object object;
+ struct object *tagged;
+ char *tag;
+ char *signature; /* not actually implemented */
+};
+
+#endif /* TAG_H */