diff options
author | Daniel Barkalow <barkalow@iabervon.org> | 2005-04-28 07:46:33 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-28 07:46:33 -0700 |
commit | 2636f6143751a064e366cb7763d0705b296726e3 (patch) | |
tree | 813a08e7a8591855f047f0f6fa88d0c731356983 /tag.h | |
parent | a510bfaa8c001413f363e0d0b9c6cf15dbcbb7b3 (diff) | |
download | git-2636f6143751a064e366cb7763d0705b296726e3.tar.gz |
[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.h | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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 */ |