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 7 8 9 #include <Drivers.h> 10 11 12 #ifdef __cplusplus 13 extern "C" { 14 #endif 15 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); 21 22 #ifdef __cplusplus 23 } 24 #endif 25 26 #endif // LEGACY_DRIVERS_H 27