Remove leftover OF header

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26036 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol 2008-06-20 01:23:20 +00:00
parent 22531ab80f
commit 616c19c359

View File

@ -1,50 +0,0 @@
/*
* Copyright 2006, Ingo Weinhold <bonefish@cs.tu-berlin.de>.
* All rights reserved. Distributed under the terms of the MIT License.
*/
#ifndef PCI_BUS_MANAGER_PPC_OPEN_FIRMWARE_PRIV_H
#define PCI_BUS_MANAGER_PPC_OPEN_FIRMWARE_PRIV_H
#include <stdlib.h>
#include <string.h>
#include <SupportDefs.h>
struct StringArrayPropertyValue;
// implementations
status_t ppc_openfirmware_probe_uninorth(int deviceNode,
const StringArrayPropertyValue &compatibleValue);
// property support
struct PropertyValue {
PropertyValue()
: value(NULL)
{
}
~PropertyValue()
{
free(value);
}
char *value;
int length;
};
struct StringArrayPropertyValue : PropertyValue {
char *NextElement(int &cookie) const;
bool ContainsElement(const char *value) const;
};
status_t openfirmware_get_property(int package, const char *propertyName,
PropertyValue &value);
#endif // PCI_BUS_MANAGER_PPC_OPEN_FIRMWARE_PRIV_H