]>
Commit | Line | Data |
---|---|---|
bb742ede | 1 | /* |
359fc2d2 | 2 | * Copyright (C) the libgit2 contributors. All rights reserved. |
bb742ede VM |
3 | * |
4 | * This file is part of libgit2, distributed under the GNU GPL v2 with | |
5 | * a Linking Exception. For full terms see the included COPYING file. | |
6 | */ | |
638c2ca4 VM |
7 | #ifndef INCLUDE_signature_h__ |
8 | #define INCLUDE_signature_h__ | |
9 | ||
10 | #include "git2/common.h" | |
11 | #include "git2/signature.h" | |
12 | #include "repository.h" | |
13 | #include <time.h> | |
14 | ||
7757be33 | 15 | int git_signature__parse(git_signature *sig, const char **buffer_out, const char *buffer_end, const char *header, char ender); |
afeecf4f | 16 | void git_signature__writebuf(git_buf *buf, const char *header, const git_signature *sig); |
638c2ca4 | 17 | |
bdeb8772 CMN |
18 | int git_signature__pdup(git_signature **dest, const git_signature *source, git_pool *pool); |
19 | ||
638c2ca4 | 20 | #endif |