diff options
author | Vicent Marti <tanoku@gmail.com> | 2010-12-18 02:10:25 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2010-12-18 02:35:33 +0200 |
commit | 638c2ca4281589b73f2d402bb80775242045144a (patch) | |
tree | 8ad909bbf2612ddebe2078ed623f3fb4c9421cf1 /src/signature.h | |
parent | 5cccfa899926a93c12af8232c0c0d16c0c9c7ff2 (diff) | |
download | libgit2-638c2ca4281589b73f2d402bb80775242045144a.tar.gz |
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>
Diffstat (limited to 'src/signature.h')
-rw-r--r-- | src/signature.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/signature.h b/src/signature.h new file mode 100644 index 000000000..ee212c2dc --- /dev/null +++ b/src/signature.h @@ -0,0 +1,12 @@ +#ifndef INCLUDE_signature_h__ +#define INCLUDE_signature_h__ + +#include "git2/common.h" +#include "git2/signature.h" +#include "repository.h" +#include <time.h> + +int git_signature__parse(git_signature *sig, char **buffer_out, const char *buffer_end, const char *header); +int git_signature__write(git_odb_source *src, const char *header, const git_signature *sig); + +#endif |