chiark / gitweb /
db5db90c21da4122129a158d1539cddc0755a546
[elogind.git] / extras / chassis_id / chassis_id.h
1
2   /* -*-c-*-: 
3    **
4    ** (C) 2003 Intel Corporation
5    **          Atul Sabharwal <atul.sabharwal@intel.com>
6    **
7    ** $Id: chassis_id.h,v 1.1 2004/03/16 18:24:44 atul Exp $
8    **
9    ** Distributed under the terms of the GNU Public License, v2.0 or
10    ** later.
11    **
12    ** Many parts heavily based on test-skeleton.c, by Ulrich Drepper;
13    ** with his permission, they have been re-licensed GPL, and his
14    ** copyright still applies on them. 
15    **
16    */
17
18 #ifndef _CHASSIS_ID_H
19 #define _CHASSIS_ID_H
20
21 //#define DEBUG              1
22 #define ERROR              1
23 #define ERROR_NO_SLOT      2
24 #define ERROR_NO_CHASSIS   3
25 #define ERROR_NO_DEVPATH   4
26 #define ERROR_BAD_SNUMBER  5
27 #define ERROR_NO_DISK      6
28 #define ERROR_BAD_TABLE    7
29 #define ERROR_BAD_SCAN     8
30 #define NO_ERROR           0
31
32 extern int table_init();
33
34 #endif