6 struct proto_file_entry {
16 struct proto_file_entry files[1];
20 struct proto_flist *flist;
23 int data_sz, max_data_sz;
28 struct flist *flist_create(void);
29 void flist_destroy(struct flist *flist);
31 int flist_add(struct flist *flist, const char *name, const char *path, int contents);
32 int flist_finalize(struct flist *flist);
34 int read_line(int s, char *buf, int bufsz);