1 /*****************************************************************************
5 ** Purpose: Master header file for CTSim
6 ** Programmer: Kevin Rosenberg
7 ** Date Started: Aug 1984
9 ** This is part of the CTSim program
10 ** Copyright (C) 1983-2000 Kevin Rosenberg
12 ** $Id: ct.h,v 1.31 2000/08/19 22:59:06 kevin Exp $
14 ** This program is free software; you can redistribute it and/or modify
15 ** it under the terms of the GNU General Public License (version 2) as
16 ** published by the Free Software Foundation.
18 ** This program is distributed in the hope that it will be useful,
19 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
20 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 ** GNU General Public License for more details.
23 ** You should have received a copy of the GNU General Public License
24 ** along with this program; if not, write to the Free Software
25 ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26 ******************************************************************************/
32 extern "C" {int strcasecmp(const char*, const char*);}
34 #define HAVE_STRING_H 1
36 #define snprintf _snprintf
37 #define vsnprintf _vsnprintf
38 #define strcasecmp stricmp
39 #define strncasecmp strnicmp
76 #ifdef HAVE_SYS_TYPES_H
77 #include <sys/types.h>
79 #ifdef HAVE_SYS_STAT_H
88 #ifdef HAVE_SYS_FCNTL_H
89 #include <sys/fcntl.h>
94 #if defined(HAVE_GETOPT_H) || defined(HAVE_GETOPT_LONG)
103 #ifdef HAVE_SYS_PARAM_H
104 #include <sys/param.h> /* for htonl on FreeBSD */
106 #ifdef HAVE_NETINET_IN_H
107 #include <netinet/in.h> /* for htonl on Linux/Solaris */
109 #ifdef HAVE_INTTYPES_H
110 #include <inttypes.h> /* for htonl on Solaris */
113 #include <stdint.h> /* Standard ints on Linux */
139 #include "mpiworld.h"
142 #include "ctsupport.h"
143 #include "fnetorderstream.h"
151 #include "array2dfile.h"
152 #include "fnetorderstream.h"
153 #include "imagefile.h"
156 #include "backprojectors.h"
158 #include "procsignal.h"
159 #include "projections.h"