From 2636f6143751a064e366cb7763d0705b296726e3 Mon Sep 17 00:00:00 2001 From: Daniel Barkalow Date: Thu, 28 Apr 2005 07:46:33 -0700 Subject: [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 Signed-off-by: Linus Torvalds --- tag.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tag.h (limited to 'tag.h') diff --git a/tag.h b/tag.h new file mode 100644 index 0000000000..7ae7864d8a --- /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 */ -- cgit v1.2.3