btrfs: Attempt to fix GCC2 build.
[haiku.git] / src / system / kernel / device_manager / legacy_drivers.h
bloba74f56c93ce440e20ef167879d34c1e6ce9c3b64
1 /*
2 * Copyright 2002-2008, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef LEGACY_DRIVERS_H
6 #define LEGACY_DRIVERS_H
9 #include <Drivers.h>
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
16 status_t legacy_driver_add(const char* path);
17 status_t legacy_driver_publish(const char* path, device_hooks* hooks);
18 status_t legacy_driver_rescan(const char* driverName);
19 status_t legacy_driver_probe(const char* path);
20 status_t legacy_driver_init(void);
22 #ifdef __cplusplus
24 #endif
26 #endif // LEGACY_DRIVERS_H