Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals

liberopops.h

Go to the documentation of this file.
00001 /******************************************************************************
00002  * $Id: liberopops.h,v 1.25 2003/12/13 02:10:12 alessiofender Exp $
00003  * This file is part of liberopops (http://liberopops.sf.net)                 *
00004  * This file is distributed under the terms of GNU GPL license.               *
00005  ******************************************************************************/
00006 
00007 
00008 /******************************************************************************/
00014 /******************************************************************************/
00015 
00016 
00017 #ifndef LIBEROPOPS_H
00018 
00019 #include <stdio.h>
00020 
00021 #ifdef HAVE_CONFIG_H
00022  #include "config.h"
00023 #endif
00024 
00026 extern int verbose_output;
00028 extern char *configfile;
00029 
00031 #ifndef MIN
00032 #define MIN(a,b) (((a)<(b))?(a):(b))
00033 #endif
00034 
00036 #ifndef MAX
00037 #define MAX(a,b)        ((a<b)?(b):(a))
00038 #endif
00039 
00041 #define B(n)           floor(MAX(log10(n),0) + 1)
00042 
00044 #define HIDDEN static
00045 
00047 #define CONFDIR         "/.liberopops/"
00048 
00050 #define ALT_LIBERO_CONF CONFDIR "libero.cfg"
00051 
00053 #ifdef WIN32
00054 #define LIBEROPOPS_SHARE "./"
00055 #else
00056 #define LIBEROPOPS_SHARE "/usr/share/liberopops/"
00057 #endif
00058 
00059 #endif

Generated on Wed May 5 15:48:03 2004 for LiberoPOPs by doxygen 1.3.6-20040222