]> git.proxmox.com Git - libgit2.git/blob - src/hash/hash_generic.h
fb0009ccf2420e792a99c488cc4332cce1346f6f
[libgit2.git] / src / hash / hash_generic.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
8 #ifndef INCLUDE_hash_hash_generic_h__
9 #define INCLUDE_hash_hash_generic_h__
10
11 #include "common.h"
12
13 #include "hash.h"
14
15 struct git_hash_ctx {
16 unsigned long long size;
17 unsigned int H[5];
18 unsigned int W[16];
19 };
20
21 #define git_hash_ctx_init(ctx) git_hash_init(ctx)
22 #define git_hash_ctx_cleanup(ctx)
23
24 GIT_INLINE(int) git_hash_global_init(void)
25 {
26 return 0;
27 }
28
29 #endif