Main Page | Namespace List | Alphabetical List | Class List | File List | Class Members | File Members

error.h

Go to the documentation of this file.
00001 /*
00002  *  radiusplugin -- An OpenVPN plugin for do radius authentication 
00003  *                                      and accounting.
00004  * 
00005  *  Copyright (C) 2005 EWE TEL GmbH/Ralf Luebben <ralfluebben@gmx.de>
00006  *
00007  *  This program is free software; you can redistribute it and/or modify
00008  *  it under the terms of the GNU General Public License version 2
00009  *  as published by the Free Software Foundation.
00010  *
00011  *  This program is distributed in the hope that it will be useful,
00012  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  *  GNU General Public License for more details.
00015  *
00016  *  You should have received a copy of the GNU General Public License
00017  *  along with this program (see the file COPYING included with this
00018  *  distribution); if not, write to the Free Software Foundation, Inc.,
00019  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00020  */
00021  
00022 #ifndef _ERROR_H_
00023 #define _ERROR_H_
00024 
00027 #define ALLOC_ERROR -1
00028 #define SOCKET_ERROR -2
00029 #define BIND_ERROR -3
00030 #define NO_BUFFER_TO_UNSHAPE -4
00031 #define UNKNOWN_HOST -5
00032 #define POINTER_MUST_BE_NULL -6
00033 #define BAD_LENGTH -7
00034 #define PARSING_ERROR -8
00035 #define BAD_FILE -9
00036 #define TO_BIG_ATTRIBUTE_LENGTH -10
00037 #define BAD_IP -11
00038 #define NO_RESPONSE -12
00039 #define TO_LONG_PASSWORD -13
00040 #define SHAPE_ERROR -14
00041 #define UNSHAPE_ERROR -15
00042 #define NO_VALUE_IN_ATTRIBUTE -16
00043 #endif //_ERROR_H_

Generated on Sun Nov 27 20:19:12 2005 for RadiusClass by  doxygen 1.4.2