Mercurial > hg > orthanc
comparison Core/Toolbox.h @ 2981:eff50153a7b3 db-changes
integration mainline->db-changes
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 06 Dec 2018 15:58:08 +0100 |
parents | ad0e7def3338 |
children | 4e43e67f8ecf |
comparison
equal
deleted
inserted
replaced
2896:3fabf9a673f6 | 2981:eff50153a7b3 |
---|---|
115 size_t fromLevel); | 115 size_t fromLevel); |
116 | 116 |
117 bool IsChildUri(const UriComponents& baseUri, | 117 bool IsChildUri(const UriComponents& baseUri, |
118 const UriComponents& testedUri); | 118 const UriComponents& testedUri); |
119 | 119 |
120 std::string AutodetectMimeType(const std::string& path); | |
121 | |
122 std::string FlattenUri(const UriComponents& components, | 120 std::string FlattenUri(const UriComponents& components, |
123 size_t fromLevel = 0); | 121 size_t fromLevel = 0); |
124 | 122 |
125 #if ORTHANC_ENABLE_MD5 == 1 | 123 #if ORTHANC_ENABLE_MD5 == 1 |
126 void ComputeMD5(std::string& result, | 124 void ComputeMD5(std::string& result, |
236 void InitializeOpenSsl(); | 234 void InitializeOpenSsl(); |
237 | 235 |
238 void FinalizeOpenSsl(); | 236 void FinalizeOpenSsl(); |
239 | 237 |
240 std::string GenerateUuid(); | 238 std::string GenerateUuid(); |
239 | |
240 std::string SubstituteVariables(const std::string& source, | |
241 const std::map<std::string, std::string>& dictionary); | |
241 } | 242 } |
242 } | 243 } |
243 | 244 |
244 | 245 |
245 | 246 |