vfs: check userland buffers before reading them.
[haiku.git] / headers / private / kernel / platform / openfirmware / devices.h
blobe365815a2709d8083d0bebdfaa6a4ac88109ee71
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 */
6 #ifndef _KERNEL_OPEN_FIRMWARE_DEVICES_H
7 #define _KERNEL_OPEN_FIRMWARE_DEVICES_H
9 #include <SupportDefs.h>
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
15 status_t of_get_next_device(int *_cookie, int root, const char *type,
16 char *path, size_t pathSize);
18 #ifdef __cplusplus
19 } // extern "C"
20 #endif
22 #endif /* _KERNEL_OPEN_FIRMWARE_DEVICES_H */