https://github.com/git/git
Raw File
Tip revision: 8977c110b5bbd230c28c727ddb85856067d55cfb authored by Junio C Hamano on 04 January 2007, 07:09:08 UTC
pack-check.c::verify_packfile(): don't run SHA-1 update on huge data
Tip revision: 8977c11
strbuf.h
#ifndef STRBUF_H
#define STRBUF_H
struct strbuf {
	int alloc;
	int len;
	int eof;
	char *buf;
};

extern void strbuf_init(struct strbuf *);
extern void read_line(struct strbuf *, FILE *, int);

#endif /* STRBUF_H */
back to top