Blame src/varint.h

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