git/varint.h
Junio C Hamano d2c1898571 varint: make it available outside the context of pack
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2012-04-03 16:24:44 -07:00

10 lines
198 B
C

#ifndef VARINT_H
#define VARINT_H
#include "git-compat-util.h"
extern int encode_varint(uintmax_t, unsigned char *);
extern uintmax_t decode_varint(const unsigned char **);
#endif /* VARINT_H */