aroarfw
Main Page
Data Structures
Files
File List
Globals
include
aroarfw
error.h
Go to the documentation of this file.
1
//error.h:
2
3
/*
4
* Copyright (C) Philipp 'ph3-der-loewe' Schafft - 2011-2012
5
*
6
* This file is part of aroarfw, a RoarAudio framework for
7
* embedded systems (µControlers).
8
*
9
* This file is free software; you can redistribute it and/or modify
10
* it under the terms of the GNU General Public License version 3
11
* or (at your option) any later version as published by
12
* the Free Software Foundation.
13
*
14
* aroarfw is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
* GNU General Public License for more details.
18
*
19
* You should have received a copy of the GNU General Public License
20
* along with this software; see the file COPYING. If not, write to
21
* the Free Software Foundation, 51 Franklin Street, Fifth Floor,
22
* Boston, MA 02110-1301, USA.
23
*/
24
25
#ifndef _AROARFW_ERROR_H_
26
#define _AROARFW_ERROR_H_
27
28
//$ grep '^#define ROAR_ERROR_' error.h | sed 's/^#define ROAR_ERROR_//; s/ */ /g; s/ \/\* / /; s/ \*\/$//' | while read name id msg; do printf " //! %s\n RERROR_%-11s = %2i,\n" "$msg" $name $id; done
29
31
typedef
enum
{
33
RERROR_UNKNOWN
= -1,
35
RERROR_NONE
= 0,
37
RERROR_PERM
= 1,
39
RERROR_NOENT
= 2,
41
RERROR_BADMSG
= 3,
43
RERROR_BUSY
= 4,
45
RERROR_CONNREFUSED
= 5,
47
RERROR_NOSYS
= 6,
49
RERROR_NOTSUP
= 7,
51
RERROR_PIPE
= 8,
53
RERROR_PROTO
= 9,
55
RERROR_RANGE
= 10,
57
RERROR_MSGSIZE
= 11,
59
RERROR_NOMEM
= 12,
61
RERROR_INVAL
= 13,
63
RERROR_ALREADY
= 14,
65
RERROR_BADRQC
= 15,
67
RERROR_DOM
= 16,
69
RERROR_EXIST
= 17,
71
RERROR_FAULT
= 18,
73
RERROR_IO
= 19,
75
RERROR_KEYEXPIRED
= 20,
77
RERROR_KEYREJECTED
= 21,
79
RERROR_LOOP
= 22,
81
RERROR_MFILE
= 23,
83
RERROR_NAMETOOLONG
= 24,
85
RERROR_NODATA
= 25,
87
RERROR_NODEV
= 26,
89
RERROR_NODRV
= 27,
91
RERROR_NOSPC
= 38,
93
RERROR_TYPEMM
= 39,
95
RERROR_NORSYS
= 40,
97
RERROR_NOTCONN
= 41,
99
RERROR_PROTONOSUP
= 42,
101
RERROR_RIO
= 43,
103
RERROR_RO
= 45,
105
RERROR_TIMEDOUT
= 46,
107
RERROR_AGAIN
= 47,
109
RERROR_NOISE
= 48,
111
RERROR_LINKDOWN
= 49,
113
RERROR_INTERRUPTED
= 50,
115
RERROR_CAUSALITY
= 51,
117
RERROR_QUOTA
= 52,
119
RERROR_BADLIB
= 53,
121
RERROR_NOMEDIUM
= 54,
123
RERROR_NOTUNIQ
= 55,
125
RERROR_ILLSEQ
= 56,
127
RERROR_ADDRINUSE
= 57,
129
RERROR_HOLE
= 58,
131
RERROR_BADVERSION
= 59,
133
RERROR_NSVERSION
= 60,
135
RERROR_BADMAGIC
= 61,
137
RERROR_LOSTSYNC
= 62,
139
RERROR_BADSEEK
= 63,
141
RERROR_NOSEEK
= 64,
143
RERROR_BADCKSUM
= 65,
145
RERROR_NOHORSE
= 66,
147
RERROR_CHERNOBYL
= 67,
149
RERROR_NOHUG
= 68,
151
RERROR_TEXTBUSY
= 69,
153
RERROR_NOTEMPTY
= 70,
155
RERROR_NODEUNREACH
= 71,
157
RERROR_IDREMOVED
= 72,
159
RERROR_INPROGRESS
= 73,
161
RERROR_NOCHILD
= 74,
163
RERROR_NETUNREACH
= 75,
165
RERROR_CANCELED
= 76,
167
RERROR_ISDIR
= 77,
169
RERROR_NOTDIR
= 78,
171
RERROR_BADEXEC
= 79,
173
RERROR_ISCONN
= 80,
175
RERROR_DEADLOCK
= 81,
177
RERROR_CONNRST
= 82,
179
RERROR_BADFH
= 83,
181
RERROR_NOTSOCK
= 84,
183
RERROR_TOOMANYARGS
= 85,
185
RERROR_TOOLARGE
= 86,
187
RERROR_DESTADDRREQ
= 87,
189
RERROR_AFNOTSUP
= 88,
191
RERROR_NOPOWER
= 89,
193
RERROR_USER
= 90,
195
RERROR_NFILE
= 91,
197
RERROR_STALE
= 92,
199
RERROR_XDEVLINK
= 93,
201
RERROR_MLINK
= 94,
203
RERROR_NONET
= 95,
205
RERROR_CONNRSTNET
= 96,
207
RERROR_CONNABORTED
= 97,
209
RERROR_BADHOST
= 98,
211
RERROR_SWITCHPROTO
= 99,
213
RERROR_MOVEDPERM
= 100,
215
RERROR_MOVEDTEMP
= 101,
217
RERROR_USEPROXY
= 102,
219
RERROR_SEEOTHER
= 103,
221
RERROR_GONE
= 104
222
}
rerror_t
;
223
224
#endif
225
226
//ll
Generated on Mon Jul 30 2012 07:56:30 for aroarfw by
1.8.1.2