libgit2/src/tag.h
Vicent Marti 638c2ca428 Rename 'git_person' to 'git_signature'
The new signature struct is public, and contains information about the
timezone offset. Must be free'd manually by the user.

Signed-off-by: Vicent Marti <tanoku@gmail.com>
2010-12-18 02:35:33 +02:00

22 lines
368 B
C

#ifndef INCLUDE_tag_h__
#define INCLUDE_tag_h__
#include "git2/tag.h"
#include "repository.h"
struct git_tag {
git_object object;
git_object *target;
git_otype type;
char *tag_name;
git_signature *tagger;
char *message;
};
void git_tag__free(git_tag *tag);
int git_tag__parse(git_tag *tag);
int git_tag__writeback(git_tag *tag, git_odb_source *src);
#endif