summaryrefslogtreecommitdiffstats
path: root/lib/libstand/tftp.c
diff options
context:
space:
mode:
authorjlemon <jlemon@FreeBSD.org>2000-04-29 20:47:10 +0000
committerjlemon <jlemon@FreeBSD.org>2000-04-29 20:47:10 +0000
commit9f5d586c97f0c69480f51fa40d06e6720f36dd6d (patch)
tree2a80882b8e07436637e0729c87a7192a50231dbd /lib/libstand/tftp.c
parent0340a88f8a7d13623dc70269b23cf87bc47decff (diff)
downloadFreeBSD-src-9f5d586c97f0c69480f51fa40d06e6720f36dd6d.zip
FreeBSD-src-9f5d586c97f0c69480f51fa40d06e6720f36dd6d.tar.gz
Add a readdir function to the loader fsops vector, and implement the
functionality for some of the filesystesms.
Diffstat (limited to 'lib/libstand/tftp.c')
-rw-r--r--lib/libstand/tftp.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/libstand/tftp.c b/lib/libstand/tftp.c
index 63d32d9..e7f885d 100644
--- a/lib/libstand/tftp.c
+++ b/lib/libstand/tftp.c
@@ -67,7 +67,14 @@ static off_t tftp_seek(struct open_file *f, off_t offset, int where);
static int tftp_stat(struct open_file *f, struct stat *sb);
struct fs_ops tftp_fsops = {
- "tftp", tftp_open, tftp_close, tftp_read, tftp_write, tftp_seek, tftp_stat
+ "tftp",
+ tftp_open,
+ tftp_close,
+ tftp_read,
+ tftp_write,
+ tftp_seek,
+ tftp_stat,
+ null_readdir
};
extern struct in_addr servip;
OpenPOWER on IntegriCloud