summaryrefslogtreecommitdiffstats
path: root/sbin/hastd/nv.h
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2010-10-24 17:24:08 +0000
committerpjd <pjd@FreeBSD.org>2010-10-24 17:24:08 +0000
commit9eb542816d93ddad2b6f71e9fdcac572b7b6d758 (patch)
tree8d679e864085f0f575ed38b355894e855c99b5d3 /sbin/hastd/nv.h
parentcd45fc19c2ccd171da623767221828ae5508ea64 (diff)
downloadFreeBSD-src-9eb542816d93ddad2b6f71e9fdcac572b7b6d758.zip
FreeBSD-src-9eb542816d93ddad2b6f71e9fdcac572b7b6d758.tar.gz
Implement nv_exists() function that returns true if argument of the given
name exists. MFC after: 3 days
Diffstat (limited to 'sbin/hastd/nv.h')
-rw-r--r--sbin/hastd/nv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/hastd/nv.h b/sbin/hastd/nv.h
index 7aee3c4..664557e 100644
--- a/sbin/hastd/nv.h
+++ b/sbin/hastd/nv.h
@@ -126,6 +126,7 @@ const uint64_t *nv_get_uint64_array(struct nv *nv, size_t *sizep,
const char *nv_get_string(struct nv *nv, const char *namefmt, ...)
__printflike(2, 3);
+bool nv_exists(struct nv *nv, const char *namefmt, ...) __printflike(2, 3);
void nv_dump(struct nv *nv);
#endif /* !_NV_H_ */
OpenPOWER on IntegriCloud