Revision 5f40520f8c4ca24b29295a36c7a7b6059ad5a888 authored by Junio C Hamano on 14 July 2005, 07:08:05 UTC, committed by Linus Torvalds on 14 July 2005, 15:54:31 UTC
This adds documentation for creating packed archives, inspecting,
validating them, and unpacking them.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 516236c
Raw File
tag.h
#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 */
};

extern struct tag *lookup_tag(const unsigned char *sha1);
extern int parse_tag_buffer(struct tag *item, void *data, unsigned long size);
extern int parse_tag(struct tag *item);

#endif /* TAG_H */
back to top