summaryrefslogtreecommitdiffstats
path: root/lib/libstand/stand.h
diff options
context:
space:
mode:
authorps <ps@FreeBSD.org>2000-04-20 00:06:15 +0000
committerps <ps@FreeBSD.org>2000-04-20 00:06:15 +0000
commit4422f2d83bb4ca051d794f962ed3fdebf99fcddb (patch)
treec0e175580c51dd8f88fefc4346bdb40d530d84f6 /lib/libstand/stand.h
parentb86f59222971ce8e1ded778420f9d916dd650e5a (diff)
downloadFreeBSD-src-4422f2d83bb4ca051d794f962ed3fdebf99fcddb.zip
FreeBSD-src-4422f2d83bb4ca051d794f962ed3fdebf99fcddb.tar.gz
Add a cleanup function. This is needed for PXE where you should
shutdown the UNDI and unload the stack.
Diffstat (limited to 'lib/libstand/stand.h')
-rw-r--r--lib/libstand/stand.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libstand/stand.h b/lib/libstand/stand.h
index ba54885..23626a5 100644
--- a/lib/libstand/stand.h
+++ b/lib/libstand/stand.h
@@ -138,6 +138,7 @@ struct devsw {
int (*dv_close)(struct open_file *f);
int (*dv_ioctl)(struct open_file *f, u_long cmd, void *data);
void (*dv_print)(int verbose); /* print device information */
+ void (*dv_cleanup)();
};
extern int errno;
OpenPOWER on IntegriCloud