00001 /* 00002 ** Copyright (C) 2008 INL 00003 ** Written by Sebastien Tricaud <s.tricaud@inl.fr> 00004 ** INL http://www.inl.fr/ 00005 ** 00006 ** $Id: nubase.h 4847 2008-06-13 14:48:31Z regit $ 00007 ** 00008 ** This program is free software; you can redistribute it and/or modify 00009 ** it under the terms of the GNU General Public License as published by 00010 ** the Free Software Foundation, version 3 of the License. 00011 ** 00012 ** This program is distributed in the hope that it will be useful, 00013 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 ** GNU General Public License for more details. 00016 ** 00017 ** You should have received a copy of the GNU General Public License 00018 ** along with this program; if not, write to the Free Software 00019 ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00020 */ 00021 00022 00023 #ifndef NUBASE_HEADER 00024 #define NUBASE_HEADER 00025 00026 #ifdef HAVE_CONFIG_H 00027 # include "config.h" 00028 #endif 00029 00030 #ifndef FALSE 00031 #define FALSE 0 00032 #endif 00033 00034 #ifndef TRUE 00035 #define TRUE 1 00036 #endif 00037 00038 #include "config-parser.h" 00039 #include "config-table.h" 00040 #include "ipv6.h" 00041 #include "log.h" 00042 #include "packet_parser.h" 00043 #include "strings.h" 00044 00045 typedef enum { 00046 NU_EXIT_ERROR = -1, 00047 NU_EXIT_OK = 0, 00048 NU_EXIT_NO_RETURN, 00049 NU_EXIT_CONTINUE 00050 } nu_error_t; 00051 00052 00053 #endif /* ifndef NUBASE_HEADER */
1.4.7