Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | Related Pages

imagectn.h

00001 /*
00002  *
00003  *  Copyright (C) 1993-2001, OFFIS
00004  *
00005  *  This software and supporting documentation were developed by
00006  *
00007  *    Kuratorium OFFIS e.V.
00008  *    Healthcare Information and Communication Systems
00009  *    Escherweg 2
00010  *    D-26121 Oldenburg, Germany
00011  *
00012  *  THIS SOFTWARE IS MADE AVAILABLE,  AS IS,  AND OFFIS MAKES NO  WARRANTY
00013  *  REGARDING  THE  SOFTWARE,  ITS  PERFORMANCE,  ITS  MERCHANTABILITY  OR
00014  *  FITNESS FOR ANY PARTICULAR USE, FREEDOM FROM ANY COMPUTER DISEASES  OR
00015  *  ITS CONFORMITY TO ANY SPECIFICATION. THE ENTIRE RISK AS TO QUALITY AND
00016  *  PERFORMANCE OF THE SOFTWARE IS WITH THE USER.
00017  *
00018  *  Module:  imagectn
00019  *
00020  *  Author:  Andrew Hewett
00021  *
00022  *  Purpose: Image CTN Common Constants, Types, Globals and Functions
00023  *
00024  *  Last Update:      $Author: meichel $
00025  *  Update Date:      $Date: 2001/11/12 14:54:19 $
00026  *  Source File:      $Source: /share/dicom/cvs-depot/dcmtk/imagectn/apps/imagectn.h,v $
00027  *  CVS/RCS Revision: $Revision: 1.10 $
00028  *  Status:           $State: Exp $
00029  *
00030  *  CVS/RCS Log at end of file
00031  *
00032  */
00033 
00034 #ifndef IMAGECTN_H
00035 #define IMAGECTN_H
00036 
00037 #include "osconfig.h"    /* make sure OS specific configuration is included first */
00038 
00039 #include "dcxfer.h"
00040 #include "dicom.h"
00041 #include "cond.h"
00042 #include "assoc.h"
00043 #include "cnf.h"
00044 #include "ofconapp.h"
00045 
00046 /*
00047  * Application Conditions
00048  */
00049 extern const OFCondition APP_INVALIDPEER;    /* invalid peer (for move operation) */
00050 
00051 
00052 /*
00053  * Common Globals
00054  */
00055 
00056 extern T_ASC_Network *net;
00057 extern E_TransferSyntax  opt_networkTransferSyntax;
00058 extern E_TransferSyntax  opt_writeTransferSyntax;
00059 extern int         opt_verbose;
00060 extern OFBool      opt_debug;
00061 extern OFBool      opt_ignoreStoreData;
00062 extern OFBool      opt_requireFindForMove;
00063 extern OFBool      opt_restrictMoveToSameVendor;
00064 extern OFBool      opt_restrictMoveToSameHost;
00065 extern OFBool      opt_restrictMoveToSameAE;
00066 extern OFBool      opt_bitPreserving;
00067 extern OFBool      opt_useMetaheader;
00068 extern E_GrpLenEncoding  opt_groupLength;
00069 extern E_EncodingType    opt_sequenceType;
00070 extern E_PaddingEncoding opt_paddingType;
00071 extern OFCmdUnsignedInt  opt_filepad;
00072 extern OFCmdUnsignedInt  opt_itempad; 
00073 
00074 /* tables of abstract syntaxes which image ctn supports */
00075 extern const char* nonStorageSyntaxes[];
00076 extern int numberOfNonStorageSyntaxes;
00077 
00078 /*
00079  * Common Function Definitions
00080  */
00081 
00082 extern void errmsg(const char* msg, ...);
00083 
00084 #endif
00085 
00086 /*
00087 ** CVS Log
00088 ** $Log: imagectn.h,v $
00089 ** Revision 1.10  2001/11/12 14:54:19  meichel
00090 ** Removed all ctndisp related code from imagectn
00091 **
00092 ** Revision 1.9  2001/10/12 12:42:50  meichel
00093 ** Adapted imagectn to OFCondition based dcmnet module (supports strict mode).
00094 **
00095 ** Revision 1.8  2001/06/01 15:51:17  meichel
00096 ** Updated copyright header
00097 **
00098 ** Revision 1.7  2000/03/08 16:40:58  meichel
00099 ** Updated copyright header.
00100 **
00101 ** Revision 1.6  1999/06/10 12:11:54  meichel
00102 ** Adapted imagectn to new command line option scheme.
00103 **   Added support for Patient/Study Only Q/R model and C-GET (experimental).
00104 **
00105 ** Revision 1.5  1997/08/26 14:17:19  hewett
00106 ** Added +B command line option to imagectn application.  Use of this option
00107 ** causes imagectn to bypass the dcmdata encode/decode routines when receiving
00108 ** images and write image data to disk exactly as received in a C-STORE
00109 ** command over the network.  This option does _not_ affect sending images.
00110 **
00111 ** Revision 1.4  1997/07/21 08:59:43  andreas
00112 ** - Replace all boolean types (BOOLEAN, CTNBOOLEAN, DICOM_BOOL, BOOL)
00113 **   with one unique boolean type OFBool.
00114 **
00115 ** Revision 1.3  1996/09/24 15:52:34  hewett
00116 ** Now uses global table of Storage SOP Class UIDs (from dcuid.h).
00117 ** Also added preliminary support for the Macintosh environment (GUSI library).
00118 **
00119 ** Revision 1.2  1996/04/22 10:20:11  hewett
00120 ** Added global variables for restricting move destinations.
00121 **
00122 ** Revision 1.1.1.1  1996/03/28 19:24:59  hewett
00123 ** Oldenburg Image CTN Software ported to use the dcmdata C++ toolkit.
00124 **
00125 **
00126 */


Generated on 26 Apr 2005 for OFFIS DCMTK Version 3.5.3 by Doxygen 1.4.2