This can be useful for headers that wish to use nvlist_t pointers in a
structure or function argument without pulling in all of the headers
from <sys/nv.h>.
Sponsored by: Chelsio Communications
Paths
| Differential D48229 Authored by jhb on Dec 28 2024, 9:15 PM.
Details Summary This can be useful for headers that wish to use nvlist_t pointers in a Sponsored by: Chelsio Communications
Diff Detail
Event Timelinejhb created this revision. Harbormaster completed remote builds in B61369: Diff 148483.Dec 28 2024, 9:15 PM2024-12-28 21:15:04 (UTC+0) jhb added a child revision: D48230: nvmf: Switch several ioctls to using nvlists.Dec 28 2024, 9:15 PM2024-12-28 21:15:08 (UTC+0)
Comment Actions One thing I did not try to address is the other places that define nvlist_t (notably in libcasper). They do so _after_ including <sys/nv.h> which is kind of confusing to me and I'm not sure why that is so I've left them alone.
This revision is now accepted and ready to land.Dec 30 2024, 5:54 PM2024-12-30 17:54:16 (UTC+0) Closed by commit rG8a50aa09019a: nv: Add <sys/_nv.h> header for nvlist_t declaration (authored by jhb). · Explain WhyDec 30 2024, 6:53 PM2024-12-30 18:53:17 (UTC+0) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 148572 sys/sys/_nv.h
sys/sys/cnv.h
sys/sys/dnv.h
sys/sys/nv.h
tools/build/Makefile
|