1 /*****************************************************************************
2 ** This is part of the CTSim program
3 ** Copyright (C) 1983-2000 Kevin Rosenberg
5 ** $Id: ct.h,v 1.5 2000/05/11 01:04:44 kevin Exp $
7 ** Revision 1.5 2000/05/11 01:04:44 kevin
8 ** Added Microsoft Windows compatibility
10 ** Revision 1.4 2000/05/03 19:51:41 kevin
11 ** function renaming for phantoms and phantom elements
13 ** Revision 1.3 2000/04/30 19:17:35 kevin
14 ** Set up include files for conditional INTERACTIVE_GRAPHICS
16 ** Revision 1.2 2000/04/28 14:14:16 kevin
17 ** *** empty log message ***
20 ** This program is free software; you can redistribute it and/or modify
21 ** it under the terms of the GNU General Public License (version 2) as
22 ** published by the Free Software Foundation.
24 ** This program is distributed in the hope that it will be useful,
25 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
26 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27 ** GNU General Public License for more details.
29 ** You should have received a copy of the GNU General Public License
30 ** along with this program; if not, write to the Free Software
31 ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
32 ******************************************************************************/
33 /*---------------------------------------------------------------------*/
34 /* HEADER FILE FOR TOMOGRAPY SYSTEM */
35 /*---------------------------------------------------------------------*/
42 #define HAVE_STRING_H 1
44 #define snprintf _snprintf
45 #define vsnprintf _vsnprintf
46 #define strcasecmp stricmp
47 #define strncasecmp strnicmp
71 #ifdef HAVE_SYS_TYPES_H
72 #include <sys/types.h>
74 #ifdef HAVE_SYS_STAT_H
83 #ifdef HAVE_SYS_FCNTL_H
84 #include <sys/fcntl.h>
89 #if defined(HAVE_GETOPT_H) || defined(HAVE_GETOPT_LONG)
98 #ifdef HAVE_SYS_PARAM_H
99 #include <sys/param.h> /* for htonl on FreeBSD */
101 #ifdef HAVE_NETINET_IN_H
102 #include <netinet/in.h> /* for htonl on Linux/Solaris */
104 #ifdef HAVE_INTTYPES_H
105 #include <inttypes.h> /* for htonl on Solaris */
108 #include <stdint.h> /* Standard ints on Linux */
119 #include "keyboard.h"
121 #ifdef HAVE_INTERACTIVE_GRAPHICS