projects
/
reposerve
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed filenames returned by flist
[reposerve]
/
src
/
proto.h
diff --git
a/src/proto.h
b/src/proto.h
index
3ed1ae7
..
b03ff7b
100644
(file)
--- a/
src/proto.h
+++ b/
src/proto.h
@@
-28,7
+28,7
@@
struct flist {
struct flist *flist_create(void);
void flist_destroy(struct flist *flist);
struct flist *flist_create(void);
void flist_destroy(struct flist *flist);
-int flist_add(struct flist *flist, const char *fname, int contents);
+int flist_add(struct flist *flist, const char *name, const char *path, int contents);
int flist_finalize(struct flist *flist);
int read_line(int s, char *buf, int bufsz);
int flist_finalize(struct flist *flist);
int read_line(int s, char *buf, int bufsz);