Mercurial > hg > orthanc
diff Core/Enumerations.h @ 1571:3232f1c995a5
provide the origin of the requests to HTTP handlers
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 25 Aug 2015 11:04:19 +0200 |
parents | 4b23310eb7e8 |
children | 904096e7367e |
line wrap: on
line diff
--- a/Core/Enumerations.h Sun Aug 23 11:13:03 2015 +0200 +++ b/Core/Enumerations.h Tue Aug 25 11:04:19 2015 +0200 @@ -300,6 +300,14 @@ DicomModule_Image }; + enum RequestOrigin + { + RequestOrigin_DicomProtocol, + RequestOrigin_Http, + RequestOrigin_Plugins, + RequestOrigin_Lua + }; + /** * WARNING: Do not change the explicit values in the enumerations @@ -364,6 +372,8 @@ const char* EnumerationToString(LogLevel level); + const char* EnumerationToString(RequestOrigin origin); + Encoding StringToEncoding(const char* encoding); ResourceType StringToResourceType(const char* type);