From a352065ac76f1e1267b49e14deb7a4ce053ad237 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 14 Oct 2007 17:27:00 +0000 Subject: Implement OF_getproplen(). ok deraadt@ --- sys/dev/ofw/openfirm.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/dev/ofw/openfirm.h') 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 *); -- cgit v1.2.3