1#ifndef TAG_H
   2#define TAG_H
   3#include "object.h"
   5extern const char *tag_type;
   7struct tag {
   9        struct object object;
  10        struct object *tagged;
  11        char *tag;
  12        char *signature; /* not actually implemented */
  13};
  14extern struct tag *lookup_tag(const unsigned char *sha1);
  16extern int parse_tag_buffer(struct tag *item, void *data, unsigned long size);
  17extern int parse_tag(struct tag *item);
  18extern struct object *deref_tag(struct object *, const char *, int);
  19#endif /* TAG_H */