Back to index

wims  3.65+svn20090927
common.h
Go to the documentation of this file.
00001 /*    Copyright (C) 1998-2003 XIAO, Gang of Universite de Nice - Sophia Antipolis
00002  *
00003  *  This program is free software; you can redistribute it and/or modify
00004  *  it under the terms of the GNU General Public License as published by
00005  *  the Free Software Foundation; either version 2 of the License, or
00006  *  (at your option) any later version.
00007  *
00008  *  This program is distributed in the hope that it will be useful,
00009  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00010  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00011  *  GNU General Public License for more details.
00012  *
00013  *  You should have received a copy of the GNU General Public License
00014  *  along with this program; if not, write to the Free Software
00015  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00016  */
00017 
00018 
00019 /******** Modifiable definitions ****************/
00020 
00021        /* buffer length for about information */
00022 #define aboutlen 512
00023 
00024 /******** Nothing to modify below ***************/
00025 
00026 #include "../config.h"
00027 #include <stdio.h>
00028 #include <stdlib.h>
00029 #include <stdarg.h>
00030 #include <unistd.h>
00031 #include <string.h>
00032 #include <ctype.h>
00033 #include <time.h>
00034 #include <errno.h>
00035 #include <sys/time.h>
00036 #include <sys/wait.h>
00037 #include <sys/types.h>
00038 #include <sys/stat.h>
00039 #include <signal.h>
00040 #include <fcntl.h>
00041 #include "../wimsdef.h"
00042 
00043 #define parmlim (MAX_LINELEN+256)
00044 #define inputlim (512*1024)
00045 #define SETUP_NO (sizeof(setups)/sizeof(setups[0]))
00046 #define illegal_no (sizeof(illegal)/sizeof(illegal[0]))
00047 #define illpart_no (sizeof(illpart)/sizeof(illpart[0]))
00048