repo.or.cz
/
alt-git.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[PATCH] diff-cache buglet
[alt-git.git]
/
strbuf.h
blob
da678e506fcb6219f73d07982b057192cb30beb3
1
#ifndef STRBUF_H
2
#define STRBUF_H
3
struct
strbuf
{
4
int
alloc
;
5
int
len
;
6
int
eof
;
7
unsigned char
*
buf
;
8
};
9
10
extern
void
strbuf_init
(
struct
strbuf
*);
11
extern
void
read_line
(
struct
strbuf
*,
FILE
*,
int
);
12
13
#endif
/* STRBUF_H */