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