vfs: check userland buffers before reading them.
[haiku.git] / src / bin / listdev / dm_wrapper.h
blob9d552b5b02a5118e2a770b2d733966e1d492436e
1 /*
2 * Copyright 2006-2012, Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef _DM_WRAPPER_H_
6 #define _DM_WRAPPER_H_
9 #include "device_manager_defs.h"
12 status_t init_dm_wrapper(void);
13 status_t uninit_dm_wrapper(void);
15 status_t get_root(device_node_cookie *cookie);
16 status_t get_child(device_node_cookie *cookie);
17 status_t get_next_child(device_node_cookie *cookie);
18 status_t dm_get_next_attr(struct device_attr_info *attr);
21 #endif