tag.hon commit Merge branch 'jk/snprintf-cleanups' (a507115)
   1#ifndef TAG_H
   2#define TAG_H
   3
   4#include "object.h"
   5
   6extern const char *tag_type;
   7
   8struct tag {
   9        struct object object;
  10        struct object *tagged;
  11        char *tag;
  12        unsigned long date;
  13};
  14
  15extern struct tag *lookup_tag(const unsigned char *sha1);
  16extern int parse_tag_buffer(struct tag *item, const void *data, unsigned long size);
  17extern int parse_tag(struct tag *item);
  18extern struct object *deref_tag(struct object *, const char *, int);
  19extern struct object *deref_tag_noverify(struct object *);
  20extern int gpg_verify_tag(const unsigned char *sha1,
  21                const char *name_to_report, unsigned flags);
  22
  23#endif /* TAG_H */