summaryrefslogtreecommitdiff
path: root/hald/linux/linux_class_block.h
blob: df2788ad8c747c2afe4f627de1a38632949bb057 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/***************************************************************************
 * CVSID: $Id$
 *
 * linux_class_block.h : Block device handling on Linux 2.6
 *
 * Copyright (C) 2003 David Zeuthen, <david@fubar.dk>
 *
 * Licensed under the Academic Free License version 2.0
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 **************************************************************************/

#ifndef LINUX_CLASS_BLOCK_H
#define LINUX_CLASS_BLOCK_H

#include "linux_common.h"

void visit_class_device_block(const char* path, 
                              struct sysfs_class_device *class_device);

void linux_class_block_check_if_ready_to_add();

void linux_class_block_init();
void linux_class_block_detection_done();
void linux_class_block_shutdown();

#endif /* LINUX_CLASS_BLOCK_H */