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