comparison OrthancServer/Sources/ServerIndex.h @ 4627:f7d5372b59b3 db-changes

handling revisions of attachments
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 20 Apr 2021 15:11:59 +0200
parents 4a0bf1019335
children 66109d24d26e
comparison
equal deleted inserted replaced
4626:686f189a903d 4627:f7d5372b59b3
95 bool hasTransferSyntax, 95 bool hasTransferSyntax,
96 DicomTransferSyntax transferSyntax, 96 DicomTransferSyntax transferSyntax,
97 bool hasPixelDataOffset, 97 bool hasPixelDataOffset,
98 uint64_t pixelDataOffset); 98 uint64_t pixelDataOffset);
99 99
100 StoreStatus AddAttachment(const FileInfo& attachment, 100 StoreStatus AddAttachment(int64_t& newRevision /*out*/,
101 const std::string& publicId); 101 const FileInfo& attachment,
102 const std::string& publicId,
103 bool hasOldRevision,
104 int64_t oldRevision);
102 }; 105 };
103 } 106 }