xref: /haiku/headers/private/kernel/platform/openfirmware/devices.h (revision d5cd4a9d51842c063a3273a6a88dbfb2fdc82f7e)
1f602da2bSIngo Weinhold /*
2f602da2bSIngo Weinhold  * Copyright 2005-2006, Ingo Weinhold <bonefish@cs.tu-berlin.de>.
3f602da2bSIngo Weinhold  * All rights reserved. Distributed under the terms of the MIT License.
4f602da2bSIngo Weinhold  */
5f602da2bSIngo Weinhold 
6f602da2bSIngo Weinhold #ifndef _KERNEL_OPEN_FIRMWARE_DEVICES_H
7f602da2bSIngo Weinhold #define _KERNEL_OPEN_FIRMWARE_DEVICES_H
8f602da2bSIngo Weinhold 
9f602da2bSIngo Weinhold #include <SupportDefs.h>
10f602da2bSIngo Weinhold 
11f602da2bSIngo Weinhold #ifdef __cplusplus
12f602da2bSIngo Weinhold extern "C" {
13f602da2bSIngo Weinhold #endif
14f602da2bSIngo Weinhold 
15*d5cd4a9dSPulkoMandy status_t of_get_next_device(intptr_t *_cookie, intptr_t root, const char *type,
16f602da2bSIngo Weinhold 	char *path, size_t pathSize);
17f602da2bSIngo Weinhold 
18f602da2bSIngo Weinhold #ifdef __cplusplus
19f602da2bSIngo Weinhold }   // extern "C"
20f602da2bSIngo Weinhold #endif
21f602da2bSIngo Weinhold 
22f602da2bSIngo Weinhold #endif	/* _KERNEL_OPEN_FIRMWARE_DEVICES_H */
23