]>
Commit | Line | Data |
---|---|---|
7cb904ba ET |
1 | /* |
2 | * Copyright (C) the libgit2 contributors. All rights reserved. | |
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 | */ | |
7 | #ifndef INCLUDE_apply_h__ | |
8 | #define INCLUDE_apply_h__ | |
9 | ||
eae0bfdc PP |
10 | #include "common.h" |
11 | ||
7cb904ba | 12 | #include "git2/patch.h" |
ac3d33df | 13 | #include "git2/apply.h" |
7cb904ba ET |
14 | #include "buffer.h" |
15 | ||
16 | extern int git_apply__patch( | |
17 | git_buf *out, | |
18 | char **filename, | |
19 | unsigned int *mode, | |
20 | const char *source, | |
21 | size_t source_len, | |
ac3d33df JK |
22 | git_patch *patch, |
23 | const git_apply_options *opts); | |
7cb904ba ET |
24 | |
25 | #endif |