]> git.proxmox.com Git - libgit2.git/blame - src/hash/hash_generic.h
New upstream version 0.28.4+dfsg.1
[libgit2.git] / src / hash / hash_generic.h
CommitLineData
d6fb0924 1/*
359fc2d2 2 * Copyright (C) the libgit2 contributors. All rights reserved.
d6fb0924
ET
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
eae0bfdc
PP
8#ifndef INCLUDE_hash_hash_generic_h__
9#define INCLUDE_hash_hash_generic_h__
10
11#include "common.h"
d6fb0924
ET
12
13#include "hash.h"
14
15struct git_hash_ctx {
0cb16fe9
L
16 unsigned long long size;
17 unsigned int H[5];
18 unsigned int W[16];
d6fb0924
ET
19};
20
8005c6d4 21#define git_hash_ctx_init(ctx) git_hash_init(ctx)
603bee07
ET
22#define git_hash_ctx_cleanup(ctx)
23
ac3d33df
JK
24GIT_INLINE(int) git_hash_global_init(void)
25{
26 return 0;
27}
28
eae0bfdc 29#endif