1 /*****************************************************************************
2 ** This is part of the CTSim program
3 ** Copyright (C) 1983-2000 Kevin Rosenberg
5 ** $Id: ct.h,v 1.8 2000/06/07 02:30:27 kevin Exp $
7 ** Revision 1.8 2000/06/07 02:30:27 kevin
8 ** Added C++ image files
10 ** Revision 1.7 2000/06/07 00:59:38 kevin
13 ** Revision 1.6 2000/05/24 22:48:17 kevin
14 ** First functional version of SDF library for X-window
16 ** Revision 1.5 2000/05/11 01:04:44 kevin
17 ** Added Microsoft Windows compatibility
19 ** Revision 1.4 2000/05/03 19:51:41 kevin
20 ** function renaming for phantoms and phantom elements
22 ** Revision 1.3 2000/04/30 19:17:35 kevin
23 ** Set up include files for conditional SGP
25 ** Revision 1.2 2000/04/28 14:14:16 kevin
26 ** *** empty log message ***
29 ** This program is free software; you can redistribute it and/or modify
30 ** it under the terms of the GNU General Public License (version 2) as
31 ** published by the Free Software Foundation.
33 ** This program is distributed in the hope that it will be useful,
34 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
35 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
36 ** GNU General Public License for more details.
38 ** You should have received a copy of the GNU General Public License
39 ** along with this program; if not, write to the Free Software
40 ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
41 ******************************************************************************/
42 /*---------------------------------------------------------------------*/
43 /* HEADER FILE FOR TOMOGRAPY SYSTEM */
44 /*---------------------------------------------------------------------*/
51 #define HAVE_STRING_H 1
53 #define snprintf _snprintf
54 #define vsnprintf _vsnprintf
55 #define strcasecmp stricmp
56 #define strncasecmp strnicmp
86 #ifdef HAVE_SYS_TYPES_H
87 #include <sys/types.h>
89 #ifdef HAVE_SYS_STAT_H
98 #ifdef HAVE_SYS_FCNTL_H
99 #include <sys/fcntl.h>
104 #if defined(HAVE_GETOPT_H) || defined(HAVE_GETOPT_LONG)
113 #ifdef HAVE_SYS_PARAM_H
114 #include <sys/param.h> /* for htonl on FreeBSD */
116 #ifdef HAVE_NETINET_IN_H
117 #include <netinet/in.h> /* for htonl on Linux/Solaris */
119 #ifdef HAVE_INTTYPES_H
120 #include <inttypes.h> /* for htonl on Solaris */
123 #include <stdint.h> /* Standard ints on Linux */
134 #include "keyboard.h"
149 #include "imagefile.h"