comparison OrthancServer/Sources/ServerIndex.h @ 4578:710748828b6a db-changes

simplification
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 09 Mar 2021 11:55:08 +0100
parents a114a5db2afe
children 5ee9a4f8a0f0
comparison
equal deleted inserted replaced
4577:a114a5db2afe 4578:710748828b6a
77 unsigned int threadSleep); 77 unsigned int threadSleep);
78 78
79 static void UnstableResourcesMonitorThread(ServerIndex* that, 79 static void UnstableResourcesMonitorThread(ServerIndex* that,
80 unsigned int threadSleep); 80 unsigned int threadSleep);
81 81
82 // A transaction must be running
83 static void MainDicomTagsToJson(Json::Value& result,
84 IDatabaseWrapper& db,
85 int64_t resourceId,
86 ResourceType resourceType);
87
88 void StandaloneRecycling(uint64_t maximumStorageSize, 82 void StandaloneRecycling(uint64_t maximumStorageSize,
89 unsigned int maximumPatientCount); 83 unsigned int maximumPatientCount);
90 84
91 void MarkAsUnstable(int64_t id, 85 void MarkAsUnstable(int64_t id,
92 Orthanc::ResourceType type, 86 Orthanc::ResourceType type,
143 SeriesStatus GetSeriesStatus(int64_t id, 137 SeriesStatus GetSeriesStatus(int64_t id,
144 int64_t expectedNumberOfInstances); 138 int64_t expectedNumberOfInstances);
145 139
146 void MainDicomTagsToJson(Json::Value& result, 140 void MainDicomTagsToJson(Json::Value& result,
147 int64_t resourceId, 141 int64_t resourceId,
148 ResourceType resourceType) 142 ResourceType resourceType);
149 {
150 ServerIndex::MainDicomTagsToJson(result, db_, resourceId, resourceType);
151 }
152 143
153 /** 144 /**
154 * Read-only methods from "IDatabaseWrapper" 145 * Read-only methods from "IDatabaseWrapper"
155 **/ 146 **/
156 147