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 12namespace BPrivate { 13 class BaseDevice; 14} 15 16using BPrivate::BaseDevice; 17 18 19status_t devfs_publish_device(const char* path, BaseDevice* device); 20status_t devfs_unpublish_device(BaseDevice* device, bool disconnect); 21 22status_t devfs_get_device(const char* path, BaseDevice*& _device); 23void devfs_put_device(BaseDevice* device); 24 25#endif /* DEVFS_PRIVATE_H */ 26