xref: /haiku/src/bin/listdev/dm_wrapper.h (revision 25a7b01d15612846f332751841da3579db313082)
1*5cb63556SAlexander von Gluck IV /*
2*5cb63556SAlexander von Gluck IV  * Copyright 2006-2012, Haiku, Inc. All Rights Reserved.
3*5cb63556SAlexander von Gluck IV  * Distributed under the terms of the MIT License.
4*5cb63556SAlexander von Gluck IV  */
5bef4e1fcSJérôme Duval #ifndef _DM_WRAPPER_H_
6bef4e1fcSJérôme Duval #define _DM_WRAPPER_H_
7bef4e1fcSJérôme Duval 
8*5cb63556SAlexander von Gluck IV 
975d20856SJérôme Duval #include "device_manager_defs.h"
10bef4e1fcSJérôme Duval 
11*5cb63556SAlexander von Gluck IV 
12bef4e1fcSJérôme Duval status_t init_dm_wrapper(void);
13bef4e1fcSJérôme Duval status_t uninit_dm_wrapper(void);
14bef4e1fcSJérôme Duval 
1575d20856SJérôme Duval status_t get_root(device_node_cookie *cookie);
1675d20856SJérôme Duval status_t get_child(device_node_cookie *cookie);
1775d20856SJérôme Duval status_t get_next_child(device_node_cookie *cookie);
1875d20856SJérôme Duval status_t dm_get_next_attr(struct device_attr_info *attr);
19bef4e1fcSJérôme Duval 
20*5cb63556SAlexander von Gluck IV 
21bef4e1fcSJérôme Duval #endif
22