mirror of
https://github.com/git/git.git
synced 2024-11-24 02:17:02 +08:00
5d6ccf5ce7
Make 'sha1' parameters const where possible Signed-off-by: Jason McMullan <jason.mcmullan@timesys.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 lines
402 B
C
20 lines
402 B
C
#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 */
|