]>
Commit | Line | Data |
---|---|---|
aeb5ee5a DT |
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_varint_h__ | |
8 | #define INCLUDE_varint_h__ | |
9 | ||
10 | #include <stdint.h> | |
11 | ||
12 | extern int git_encode_varint(unsigned char *, size_t, uintmax_t); | |
13 | extern uintmax_t git_decode_varint(const unsigned char *, size_t *); | |
14 | ||
15 | #endif |