swh:1:snp:bb8853bfef8fcf2b1d37fd6404912c7606c98e48
Raw File
Tip revision: 8104ebfe8276657ee803cca7eb8665a78cf3ef83 authored by Junio C Hamano on 25 December 2008, 03:41:08 UTC
GIT 1.6.1
Tip revision: 8104ebf
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);
extern struct object *deref_tag(struct object *, const char *, int);

#endif /* TAG_H */
back to top