summaryrefslogtreecommitdiffstats
path: root/sbin/hastd/hastd.h
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2011-01-28 21:48:15 +0000
committerpjd <pjd@FreeBSD.org>2011-01-28 21:48:15 +0000
commitbc13ed0bfab98e8ff4f210dc7c7f9d5667670fe4 (patch)
treed03e790c17b693fd514eaa42889239fb762d2877 /sbin/hastd/hastd.h
parent8de8b315a5a4d3c75f2a792f1850be1e311fe444 (diff)
downloadFreeBSD-src-bc13ed0bfab98e8ff4f210dc7c7f9d5667670fe4.zip
FreeBSD-src-bc13ed0bfab98e8ff4f210dc7c7f9d5667670fe4.tar.gz
Add function to close all unneeded descriptors after fork(2).
MFC after: 1 week
Diffstat (limited to 'sbin/hastd/hastd.h')
-rw-r--r--sbin/hastd/hastd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/hastd/hastd.h b/sbin/hastd/hastd.h
index 1157f92..b0a4037 100644
--- a/sbin/hastd/hastd.h
+++ b/sbin/hastd/hastd.h
@@ -43,6 +43,8 @@ extern const char *cfgpath;
extern bool sigexit_received;
extern struct pidfh *pfh;
+void descriptors_cleanup(struct hast_resource *res);
+
void hastd_primary(struct hast_resource *res);
void hastd_secondary(struct hast_resource *res, struct nv *nvin);
OpenPOWER on IntegriCloud