diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-10-14 17:27:00 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-10-14 17:27:00 +0000 |
commit | a352065ac76f1e1267b49e14deb7a4ce053ad237 (patch) | |
tree | a492ddfc1a22097faba04a70707ea4c99ec1205f /sys/dev | |
parent | 8c70f7e623aec7cd09c9478d4dac69b9e42c1a48 (diff) |
Implement OF_getproplen().
ok deraadt@
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ofw/openfirm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ofw/openfirm.h b/sys/dev/ofw/openfirm.h index c045963ed1a..5affb5fcfa4 100644 --- a/sys/dev/ofw/openfirm.h +++ b/sys/dev/ofw/openfirm.h @@ -1,4 +1,4 @@ -/* $OpenBSD: openfirm.h,v 1.9 2004/01/11 16:20:01 drahn Exp $ */ +/* $OpenBSD: openfirm.h,v 1.10 2007/10/14 17:26:59 kettenis Exp $ */ /* $NetBSD: openfirm.h,v 1.1 1996/09/30 16:35:10 ws Exp $ */ /* @@ -46,6 +46,7 @@ int OF_peer(int phandle); int OF_child(int phandle); int OF_parent(int phandle); int OF_instance_to_package(int ihandle); +int OF_getproplen(int handle, char *prop); int OF_getprop(int handle, char *prop, void *buf, int buflen); int OF_setprop(int, char *, const void *, int); int OF_nextprop(int, char *, void *); |