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