00001
00002
00003
00004
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