]> git.proxmox.com Git - libgit2.git/blob - src/diff_tform.h
New upstream version 1.0.1+dfsg.1
[libgit2.git] / src / diff_tform.h
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_diff_tform_h__
8 #define INCLUDE_diff_tform_h__
9
10 #include "common.h"
11
12 #include "diff_file.h"
13
14 extern int git_diff_find_similar__hashsig_for_file(
15 void **out, const git_diff_file *f, const char *path, void *p);
16
17 extern int git_diff_find_similar__hashsig_for_buf(
18 void **out, const git_diff_file *f, const char *buf, size_t len, void *p);
19
20 extern void git_diff_find_similar__hashsig_free(void *sig, void *payload);
21
22 extern int git_diff_find_similar__calc_similarity(
23 int *score, void *siga, void *sigb, void *payload);
24
25 #endif