aboutsummaryrefslogtreecommitdiff
path: root/lib/libstand
diff options
context:
space:
mode:
authorPaul Saab <ps@FreeBSD.org>2000-04-20 00:06:15 +0000
committerPaul Saab <ps@FreeBSD.org>2000-04-20 00:06:15 +0000
commit6450dd3cb455ff2d98f49a3c2e9b32cfce960f0d (patch)
tree58fb393d388760de8ec3573be57d6c393ff9a5af /lib/libstand
parentd7ff52ec7969e596c09858ba46d664bb51a71054 (diff)
downloadsrc-6450dd3cb455ff2d98f49a3c2e9b32cfce960f0d.tar.gz
src-6450dd3cb455ff2d98f49a3c2e9b32cfce960f0d.zip
Add a cleanup function. This is needed for PXE where you should
shutdown the UNDI and unload the stack.
Notes
Notes: svn path=/head/; revision=59408
Diffstat (limited to 'lib/libstand')
-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 ba54885b7c8a..23626a5635e1 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;