chiark / gitweb /
[PATCH] Make udev/udevstart be one binary
[elogind.git] / extras / chassis_id / chassis_id.h
1 /* 
2  * chassis_id.h
3  *
4  * Copyright (C) 2004 Intel Corporation.  All rights reserved.
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public
8  * License v 2.0 as published by the Free Software Foundation; 
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public
16  * License along with this program; if not, write to the
17  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18  * Boston, MA 021110-1307, USA.
19  *
20  * Authors: Atul Sabharwal
21  *          
22  */
23
24 #ifndef _CHASSIS_ID_H
25 #define _CHASSIS_ID_H
26
27 //#define DEBUG                 1
28 #define ERROR                   1
29 #define ERROR_NO_SLOT           2
30 #define ERROR_NO_CHASSIS        3
31 #define ERROR_NO_DEVPATH        4
32 #define ERROR_BAD_SNUMBER       5
33 #define ERROR_NO_DISK           6
34 #define ERROR_BAD_TABLE         7
35 #define ERROR_BAD_SCAN          8
36 #define NO_ERROR                0
37
38 extern int table_init();
39
40 #endif