32 #include "dcmtk/config/osconfig.h"
33 #include "dcmtk/dcmqrdb/dcmqrdba.h"
35 #include "dcmtk/dcmnet/dicom.h"
36 #include "dcmtk/dcmnet/dimse.h"
37 #include "dcmtk/ofstd/offname.h"
46 #define DBINDEXFILE "index.dat"
52 #define LOCK_IMAGE_FILES
76 enum DVIFhierarchyStatus
83 DVIF_objectContainsNewSubobjects
87 #define DB_UpperMaxStudies 500
90 #define DB_UpperMaxBytesPerStudy 0x40000000L
111 const char *storageArea,
112 long maxStudiesPerStorageArea,
113 long maxBytesPerStudy,
139 const char *SOPClassUID,
140 const char *SOPInstanceUID,
141 char *newImageFileName);
155 const char *SOPClassUID,
156 const char *SOPInstanceUID,
157 const char *imageFileName,
159 OFBool isNew = OFTrue );
175 const char *SOPClassUID,
216 const char *SOPClassUID,
241 char *SOPInstanceUID,
243 unsigned short *numberOfRemainingSubOperations,
342 const char *SOPInstanceUID,
const char *StudyInstanceUID,
353 int matchStudyUIDInStudyDesc (
StudyDescRecord *pStudyDesc,
char *StudyUID,
int maxStudiesAllowed);
367 DB_LEVEL lowestLevel);
373 DB_LEVEL lowestLevel);
417 const char *callingAETitle,
418 const char *calledAETitle,