devinfo_storage.h revision 12426:cdff5d2ea989
1/*************************************************************************** 2 * 3 * devinfo_storage.h : definitions for storage devices 4 * 5 * Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. 6 * 7 * Licensed under the Academic Free License version 2.1 8 * 9 **************************************************************************/ 10 11#ifndef DEVINFO_STORAGE_H 12#define DEVINFO_STORAGE_H 13 14#include "devinfo.h" 15 16extern DevinfoDevHandler devinfo_ide_handler; 17extern DevinfoDevHandler devinfo_scsi_handler; 18extern DevinfoDevHandler devinfo_pcata_handler; 19extern DevinfoDevHandler devinfo_blkdev_handler; 20extern DevinfoDevHandler devinfo_floppy_handler; 21extern DevinfoDevHandler devinfo_lofi_handler; 22 23gboolean devinfo_storage_device_rescan (HalDevice *d); 24HalDevice *devinfo_lofi_add_major(HalDevice *parent, di_node_t node, char *devfs_path, 25 char *device_type, gboolean rescan, HalDevice *lofi_d); 26void devinfo_lofi_remove_minor(char *parent_devfs_path, char *name); 27void devinfo_storage_mnttab_event (HalDevice *hal_volume); 28void devinfo_volume_hotplug_begin_remove (HalDevice *d, char *devfs_path, void *end_token); 29 30#endif /* DEVINFO_STORAGE_H */ 31