aroarfw

include/aroarfw/error.h

Go to the documentation of this file.
00001 //error.h:
00002 
00003 /*
00004  *      Copyright (C) Philipp 'ph3-der-loewe' Schafft - 2011
00005  *
00006  *  This file is part of aroarfw, a RoarAudio framework for
00007  *  embedded systems (µControlers).
00008  *
00009  *  This file is free software; you can redistribute it and/or modify
00010  *  it under the terms of the GNU General Public License version 3
00011  *  or (at your option) any later version as published by
00012  *  the Free Software Foundation.
00013  *
00014  *  aroarfw is distributed in the hope that it will be useful,
00015  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017  *  GNU General Public License for more details.
00018  *
00019  *  You should have received a copy of the GNU General Public License
00020  *  along with this software; see the file COPYING.  If not, write to
00021  *  the Free Software Foundation, 51 Franklin Street, Fifth Floor,
00022  *  Boston, MA 02110-1301, USA.
00023  */
00024 
00025 #ifndef _AROARFW_ERROR_H_
00026 #define _AROARFW_ERROR_H_
00027 
00029 typedef enum {
00031  RERROR_UNKNOWN     = -1,
00033  RERROR_NONE        =  0,
00035  RERROR_PERM        =  1,
00037  RERROR_NOENT       =  2,
00039  RERROR_BADMSG      =  3,
00041  RERROR_BUSY        =  4,
00043  RERROR_CONNREFUSED =  5,
00045  RERROR_NOSYS       =  6,
00047  RERROR_NOTSUP      =  7,
00049  RERROR_PIPE        =  8,
00051  RERROR_PROTO       =  9,
00053  RERROR_RANGE       = 10,
00055  RERROR_MSGSIZE     = 11,
00057  RERROR_NOMEM       = 12,
00059  RERROR_INVAL       = 13
00060 } rerror_t;
00061 
00062 #endif
00063 
00064 //ll