00001 /*------------------------------------------------------------------------ 00002 *--------------------- RT-WMP -------------------- 00003 *------------------------------------------------------------------------ 00004 * V7.0B 11/05/10 00005 * 00006 * 00007 * File: ./src/config.h.in.h 00008 * Authors: Danilo Tardioli 00009 * ---------------------------------------------------------------------- 00010 * Copyright (C) 2000-2010, Universidad de Zaragoza, SPAIN 00011 * 00012 * Contact Addresses: Danilo Tardioli dantard@unizar.es 00013 * 00014 * RT-WMP is free software; you can redistribute it and/or modify it 00015 * under the terms of the GNU General Public License as published by the 00016 * Free Software Foundation; either version 2, or (at your option) any 00017 * later version. 00018 * 00019 * RT-WMP is distributed in the hope that it will be useful, but 00020 * WITHOUT ANY WARRANTY; without even the implied warranty of 00021 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00022 * General Public License for more details. 00023 * 00024 * You should have received a copy of the GNU General Public License 00025 * distributed with RT-WMP; see file COPYING. If not, write to the 00026 * Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 00027 * 02111-1307, USA. 00028 * 00029 * As a special exception, if you link this unit with other files to 00030 * produce an executable, this unit does not by itself cause the 00031 * resulting executable to be covered by the GNU General Public License. 00032 * This exception does not however invalidate any other reasons why the 00033 * executable file might be covered by the GNU Public License. 00034 * 00035 *----------------------------------------------------------------------*/ 00036 00037 #ifndef SUPPORT_H_ 00038 #define SUPPORT_H_ 00039 00040 /*** WARNING 00041 * Changes to this file are lost in every ./configure execution 00042 * Modify wmp_config.h.in, instead 00043 */ 00044 00045 /*** GENERAL DEFINES */ 00046 00047 //#define WMP_USE_FRAME_COMPRESSION 00048 //#define WMP_USE_MESSAGE_COMPRESSION 00049 00050 /* Descarta uno de cada RANDOM_MESSAGE_DISCARD (mediamente) mensajes recibidos (no envia ack ni encola los 00051 * mensajes (con valores de 1 y 0 esta disabilitado) */ 00052 #define RANDOM_MESSAGE_DISCARD 1 00053 00054 00055 /*** ENHANCEMENTS */ 00056 00057 /* Force a worst case loop if a node did not send its LQM FORCE_WC_LIMIT times (0 disables it) */ 00058 //#define FORCE_WC_PAP 00059 #define FORCE_WC_LIMIT 0 00060 00061 /* Define how many times nodes have to search 'desaparecidos' before stopping */ 00062 #define ACTIVE_SEARCH_COUNT 5 00063 00064 /* Search nodes continuosly when lost*/ 00065 #define AGGRESSIVE 00066 00067 /*** PLUGINS ***/ 00068 //#define LOGGER_USE_GZ 00069 00070 #define NO_DEBUG 0 00071 #define CORE 1 00072 #define LQM 2 00073 #define QUEUES 4 00074 #define DIJKSTRA 8 00075 #define FRAME_COMPRESS 16 00076 #define ML 32 00077 #define PRIM 64 00078 #define WMP_COM 128 00079 #define LL_COM 256 00080 00081 #define PLUGINS_DRIVER 512 00082 #define PLUGIN_FAKE LQM 1024 00083 #define PLUGIN_MQ 2048 00084 #define PLUGIN_QOS 4096 00085 #define PLUGIN_LOGGER 8192 00086 #define PLUGIN_BC_COMMON 16384 00087 00088 #define WMP_DEBUG_LEVEL NO_DEBUG 00089 00090 /*** AUTOMAKE DEFINES */ 00091 00092 #define QOS_SUPPORT_DISABLED 00093 00094 #define WMP_PLATFORM_linux_us 00095 #define WMP_LLCOM_raw 00096 #define WMP_ROUTING_basic 00097 00098 #endif 00099