1 /* 2 * Copyright 2008, Axel Dörfler, axeld@pinc-software.de. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef DEVFS_PRIVATE_H 6 #define DEVFS_PRIVATE_H 7 8 9 #include <SupportDefs.h> 10 11 12 namespace BPrivate { 13 class BaseDevice; 14 } 15 16 using BPrivate::BaseDevice; 17 18 19 status_t devfs_publish_device(const char* path, BaseDevice* device); 20 status_t devfs_unpublish_device(BaseDevice* device, bool disconnect); 21 22 status_t devfs_get_device(const char* path, BaseDevice*& _device); 23 void devfs_put_device(BaseDevice* device); 24 25 #endif /* DEVFS_PRIVATE_H */ 26