|
Packit |
ae9e2a |
/*
|
|
Packit |
ae9e2a |
* Copyright (C) the libgit2 contributors. All rights reserved.
|
|
Packit |
ae9e2a |
*
|
|
Packit |
ae9e2a |
* This file is part of libgit2, distributed under the GNU GPL v2 with
|
|
Packit |
ae9e2a |
* a Linking Exception. For full terms see the included COPYING file.
|
|
Packit |
ae9e2a |
*/
|
|
Packit |
ae9e2a |
#ifndef INCLUDE_varint_h__
|
|
Packit |
ae9e2a |
#define INCLUDE_varint_h__
|
|
Packit |
ae9e2a |
|
|
Packit |
ae9e2a |
#include <stdint.h>
|
|
Packit |
ae9e2a |
|
|
Packit |
ae9e2a |
extern int git_encode_varint(unsigned char *, size_t, uintmax_t);
|
|
Packit |
ae9e2a |
extern uintmax_t git_decode_varint(const unsigned char *, size_t *);
|
|
Packit |
ae9e2a |
|
|
Packit |
ae9e2a |
#endif
|