summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ofwdump/ofw_util.h
diff options
context:
space:
mode:
authortmm <tmm@FreeBSD.org>2003-06-11 18:44:26 +0000
committertmm <tmm@FreeBSD.org>2003-06-11 18:44:26 +0000
commit87b6b51235f73d1a422fbc9521b668670ff171c1 (patch)
tree024461877e00fe38f6b1a325d955b7471ed377f9 /usr.sbin/ofwdump/ofw_util.h
parent58baf8f0d2d563719e0d22eddef66cad04bbeaca (diff)
downloadFreeBSD-src-87b6b51235f73d1a422fbc9521b668670ff171c1.zip
FreeBSD-src-87b6b51235f73d1a422fbc9521b668670ff171c1.tar.gz
Autosize the property buffer instead of limiting it to 8192, and
exiting if a property happens to be larger.
Diffstat (limited to 'usr.sbin/ofwdump/ofw_util.h')
-rw-r--r--usr.sbin/ofwdump/ofw_util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/ofwdump/ofw_util.h b/usr.sbin/ofwdump/ofw_util.h
index 9c03ce6..c267bb4 100644
--- a/usr.sbin/ofwdump/ofw_util.h
+++ b/usr.sbin/ofwdump/ofw_util.h
@@ -41,6 +41,9 @@ phandle_t ofw_finddevice(int, char *);
int ofw_firstprop(int, phandle_t, char *, int);
int ofw_nextprop(int, phandle_t, char *, char *, int);
int ofw_getprop(int, phandle_t, const char *, void *, int);
+int ofw_getproplen(int, phandle_t, const char *);
+int ofw_getprop_alloc(int, phandle_t, const char *, void **, int *,
+ int);
void ofw_dump(int, char *, int, int, char *, int, int);
OpenPOWER on IntegriCloud