[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>
This commit is contained in:
Daniel Barkalow
2005-04-28 07:46:33 -07:00
committed by Linus Torvalds
parent a510bfaa8c
commit 2636f61437
3 changed files with 89 additions and 1 deletions

15
tag.h Normal file
View File

@@ -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 */