mirror of
https://github.com/git/git
synced 2024-08-25 02:35:46 +00:00
![Brian Gerst](/assets/img/avatar_default.png)
- Raw hashes should be unsigned char. - String functions want signed char. - Hash and compress functions want unsigned char. Signed-off By: Brian Gerst <bgerst@didntduck.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
14 lines
216 B
C
14 lines
216 B
C
#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 */
|