00001 /* 00002 * 00003 * Copyright (C) 1994-2010, OFFIS e.V. 00004 * All rights reserved. See COPYRIGHT file for details. 00005 * 00006 * This software and supporting documentation were partly developed by 00007 * 00008 * OFFIS e.V. 00009 * R&D Division Health 00010 * Escherweg 2 00011 * D-26121 Oldenburg, Germany 00012 * 00013 * For further copyrights, see the following paragraphs. 00014 * 00015 */ 00016 00017 /* 00018 ** Copyright (C) 1993/1994, OFFIS, Oldenburg University and CERIUM 00019 ** 00020 ** This software and supporting documentation were 00021 ** developed by 00022 ** 00023 ** Institut OFFIS 00024 ** Bereich Kommunikationssysteme 00025 ** Westerstr. 10-12 00026 ** 26121 Oldenburg, Germany 00027 ** 00028 ** Fachbereich Informatik 00029 ** Abteilung Prozessinformatik 00030 ** Carl von Ossietzky Universitaet Oldenburg 00031 ** Ammerlaender Heerstr. 114-118 00032 ** 26111 Oldenburg, Germany 00033 ** 00034 ** CERIUM 00035 ** Laboratoire SIM 00036 ** Faculte de Medecine 00037 ** 2 Avenue du Pr. Leon Bernard 00038 ** 35043 Rennes Cedex, France 00039 ** 00040 ** for CEN/TC251/WG4 as a contribution to the Radiological 00041 ** Society of North America (RSNA) 1993 Digital Imaging and 00042 ** Communications in Medicine (DICOM) Demonstration. 00043 ** 00044 ** THIS SOFTWARE IS MADE AVAILABLE, AS IS, AND NEITHER OFFIS, 00045 ** OLDENBURG UNIVERSITY NOR CERIUM MAKE ANY WARRANTY REGARDING 00046 ** THE SOFTWARE, ITS PERFORMANCE, ITS MERCHANTABILITY OR 00047 ** FITNESS FOR ANY PARTICULAR USE, FREEDOM FROM ANY COMPUTER 00048 ** DISEASES OR ITS CONFORMITY TO ANY SPECIFICATION. THE 00049 ** ENTIRE RISK AS TO QUALITY AND PERFORMANCE OF THE SOFTWARE 00050 ** IS WITH THE USER. 00051 ** 00052 ** Copyright of the software and supporting documentation 00053 ** is, unless otherwise stated, jointly owned by OFFIS, 00054 ** Oldenburg University and CERIUM and free access is hereby 00055 ** granted as a license to use this software, copy this 00056 ** software and prepare derivative works based upon this 00057 ** software. However, any distribution of this software 00058 ** source code or supporting documentation or derivative 00059 ** works (source code and supporting documentation) must 00060 ** include the three paragraphs of this copyright notice. 00061 ** 00062 */ 00063 00064 /* 00065 ** 00066 ** Author: Andrew Hewett Created: 20-10-93 00067 ** 00068 ** Module: dimcmd 00069 ** 00070 ** Purpose: 00071 ** Routines for building and parsing DIMSE Commands 00072 ** 00073 * Module Prefix: DIMSE_ 00074 ** 00075 ** Last Update: $Author: joergr $ 00076 ** Update Date: $Date: 2010-12-01 08:26:36 $ 00077 ** CVS/RCS Revision: $Revision: 1.6 $ 00078 ** Status: $State: Exp $ 00079 ** 00080 ** CVS/RCS Log at end of file 00081 */ 00082 00083 #ifndef DIMCMD_H 00084 #define DIMCMD_H 00085 00086 /* 00087 * Required Include Files 00088 */ 00089 00090 #include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */ 00091 00092 #include "dcmtk/dcmnet/dimse.h" 00093 00094 /* 00095 * Function Prototypes 00096 */ 00097 00098 OFCondition 00099 DIMSE_buildCmdObject(T_DIMSE_Message *msg, DcmDataset **obj); 00100 00101 OFCondition 00102 DIMSE_parseCmdObject(T_DIMSE_Message *msg, DcmDataset *obj); 00103 00104 OFBool 00105 DIMSE_isDataSetPresent(T_DIMSE_Message *msg); 00106 00107 unsigned long 00108 DIMSE_countElements(DcmDataset *obj); 00109 00110 #endif 00111 00112 /* 00113 ** CVS Log 00114 ** $Log: dimcmd.h,v $ 00115 ** Revision 1.6 2010-12-01 08:26:36 joergr 00116 ** Added OFFIS copyright header (beginning with the year 1994). 00117 ** 00118 ** Revision 1.5 2010-10-14 13:19:29 joergr 00119 ** Updated copyright header. Added reference to COPYRIGHT file. 00120 ** 00121 ** Revision 1.4 2005/12/08 15:48:09 meichel 00122 ** Updated Makefiles to correctly install header files 00123 ** 00124 ** Revision 1.3 2001/10/12 10:18:32 meichel 00125 ** Replaced the CONDITION types, constants and functions in the dcmnet module 00126 ** by an OFCondition based implementation which eliminates the global condition 00127 ** stack. This is a major change, caveat emptor! 00128 ** 00129 ** Revision 1.2 1997/07/21 08:47:17 andreas 00130 ** - Replace all boolean types (BOOLEAN, CTNBOOLEAN, DICOM_BOOL, BOOL) 00131 ** with one unique boolean type OFBool. 00132 ** 00133 ** Revision 1.1.1.1 1996/03/26 18:38:45 hewett 00134 ** Initial Release. 00135 ** 00136 ** 00137 */