1
/* -*- mode: c; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2
/* ex: set tabstop=2 softtabstop=2 shiftwidth=2 expandtab: */
5
* Intel(R) Enclosure LED Utilities
6
* Copyright (C) 2009, Intel Corporation.
8
* This program is free software; you can redistribute it and/or modify it
9
* under the terms and conditions of the GNU General Public License,
10
* version 2, as published by the Free Software Foundation.
12
* This program is distributed in the hope it will be useful, but WITHOUT
13
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
17
* You should have received a copy of the GNU General Public License along with
18
* this program; if not, write to the Free Software Foundation, Inc.,
19
* 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
23
#ifndef _STATUS_H_INCLUDED_
24
#define _STATUS_H_INCLUDED_
34
STATUS_BUFFER_OVERFLOW,
40
STATUS_IBPI_DETERMINE_ERROR,
42
STATUS_INVALID_SUBOPTION,
45
STATUS_FILE_OPEN_ERROR,
46
STATUS_FILE_READ_ERROR,
47
STATUS_FILE_WRITE_ERROR,
48
STATUS_FILE_LOCK_ERROR,
49
STATUS_DIR_OPEN_ERROR,
50
STATUS_SYSFS_PATH_ERROR,
51
STATUS_SYSFS_INIT_ERROR,
52
STATUS_SYSFS_SCAN_ERROR,
53
STATUS_SYSFS_RESET_ERROR,
55
STATUS_LIST_INIT_ERROR,
56
STATUS_BLOCK_LIST_ERROR,
57
STATUS_VOLUM_LIST_ERROR,
58
STATUS_CNTRL_LIST_ERROR,
59
STATUS_SLAVE_LIST_ERROR,
60
STATUS_CNTNR_LIST_ERROR,
61
STATUS_INVALID_FORMAT,
63
STATUS_LEDMON_RUNNING,
65
STATUS_INVALID_CONTROLLER,
69
STATUS_NOT_A_PRIVILEGED_USER,
70
STATUS_ENCLO_LIST_ERROR
75
char *strstatus(status_t scode);
77
#endif /* _STATUS_H_INCLUDED_ */