vfs: check userland buffers before reading them.
[haiku.git] / src / apps / devices / dm_wrapper.h
blob1b0bf824123a7c65a348daafef68b8c4c66fe5e3
1 /*
2 * Copyright 2006 Haiku Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Jerome Duval (listdev)
7 */
8 #ifndef DM_WRAPPER_H
9 #define DM_WRAPPER_H
12 #include "device_manager_defs.h"
14 status_t init_dm_wrapper(void);
15 status_t uninit_dm_wrapper(void);
16 status_t get_root(device_node_cookie *cookie);
17 status_t get_child(device_node_cookie *cookie);
18 status_t get_next_child(device_node_cookie *cookie);
19 status_t dm_get_next_attr(struct device_attr_info *attr);
21 #endif /* DM_WRAPPER_H */