/home/tai/chorist/xian-1.2/src/include/errors.h

Go to the documentation of this file.
00001 /*
00002  *  XIAN - File errors.h
00003  *  Copyright (C) 2006 THALES Communications
00004  *
00005  *  This file is part of XIAN software.
00006  *
00007  *  XIAN is free software; you can redistribute it and/or modify it
00008  *  under the terms of the GNU General Public License as published by
00009  *  the Free Software Foundation.
00010  *
00011  *  XIAN software 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 XIAN software; if not, write to the Free Software
00018  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00019  *
00020  *  */
00021 
00022 #ifndef _ERRORS_H
00023 #define _ERRORS_H
00024 
00025 /*******************************************************************************************************************************
00026  * Cross-Layer Errors definitions
00027  *******************************************************************************************************************************/
00028 
00029 #define NO_ERRORS                 0    // No errors reported
00030 #define DEV_NOT_FOUND             1    // Device interface not found
00031 #define DEV_NAME_NOT_DEFINED      2    // Device interface name not defined 
00032 #define MAC_ADDR_NOT_DEFINED      3    // Mac Adress not defined 
00033 #define NEIGHBOR_NOT_FOUND        4    // Neighbor not found; 
00034 #define UNKNOW_QUERY              5    // Unkown Query specified in Cross-Layer Message
00035 #define UNKNOW_METRIC             6    // Unkown Metric specified in Cross-Layer Message
00036 #define INVALID_MAC_ADDR          7    // Invalid MAC Address
00037 #define NOT_A_QUERY_MSG           8    // The expected Message Type is not a Query Type 
00038 #define COULD_NOT_OPEN_UNIX_DEV   9    // Could not open Unix Device
00039 #define COULD_NOT_READ_UNIX_DEV  10    // Could not read Unix Device 
00040 
00041 #endif

Generated on Mon Jan 21 12:31:45 2008 for XIAN by  doxygen 1.5.3