Mercurial > hg > orthanc-java
changeset 78:614d56521341
sync
| author | Sebastien Jodogne <s.jodogne@gmail.com> |
|---|---|
| date | Wed, 26 Nov 2025 08:47:41 +0100 |
| parents | 8e5e3432264c |
| children | 1a1ee5a8424c |
| files | Resources/Orthanc/CMake/Compiler.cmake Resources/Orthanc/OrthancPluginCodeModel.json |
| diffstat | 2 files changed, 108 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Resources/Orthanc/CMake/Compiler.cmake Fri Oct 10 16:22:37 2025 +0200 +++ b/Resources/Orthanc/CMake/Compiler.cmake Wed Nov 26 08:47:41 2025 +0100 @@ -246,6 +246,9 @@ # fix this error that appears with recent compilers on MacOS: boost/mpl/aux_/integral_wrapper.hpp:73:31: error: integer value -1 is outside the valid range of values [0, 3] for this enumeration type [-Wenum-constexpr-conversion] SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-enum-constexpr-conversion") + # it seems that some recent MacOS compilers don't set these flags correctly which prevents zlib from building correctly + SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64") + add_definitions( -D_XOPEN_SOURCE=1 )
--- a/Resources/Orthanc/OrthancPluginCodeModel.json Fri Oct 10 16:22:37 2025 +0200 +++ b/Resources/Orthanc/OrthancPluginCodeModel.json Wed Nov 26 08:47:41 2025 +0100 @@ -1,6 +1,73 @@ { "classes": [ { + "methods": [ + { + "args": [], + "c_function": "OrthancPluginGetConnectionRemoteAet", + "const": true, + "documentation": { + "args": {}, + "description": [ + "This function returns the Application Entity Title (AET) of the DICOM modality from which a DICOM connection originates." + ], + "return": "The pointer to the AET, NULL in case of error.", + "summary": "Get the remote AET of a DICOM connection." + }, + "return_sdk_type": "const char *", + "since_sdk": [ + 1, + 12, + 10 + ] + }, + { + "args": [], + "c_function": "OrthancPluginGetConnectionRemoteIp", + "const": true, + "documentation": { + "args": {}, + "description": [ + "This function returns the IP of the DICOM modality from which a DICOM connection originates." + ], + "return": "The pointer to the IP, NULL in case of error.", + "summary": "Get the remote IP of a DICOM connection." + }, + "return_sdk_type": "const char *", + "since_sdk": [ + 1, + 12, + 10 + ] + }, + { + "args": [], + "c_function": "OrthancPluginGetConnectionCalledAet", + "const": true, + "documentation": { + "args": {}, + "description": [ + "This function returns the AET that was called by the remote DICOM modality over a DICOM connection. This corresponds to one of the AETs used by Orthanc." + ], + "return": "The pointer to the called AET, NULL in case of error.", + "summary": "Get the called AET of a DICOM connection." + }, + "return_sdk_type": "const char *", + "since_sdk": [ + 1, + 12, + 10 + ] + } + ], + "name": "OrthancPluginDicomConnection", + "since_sdk": [ + 1, + 12, + 10 + ] + }, + { "destructor": "OrthancPluginFreeDicomInstance", "methods": [ { @@ -2234,7 +2301,7 @@ "value": 2002 }, { - "documentation": "The TCP port of the HTTP server is privileged or already in use", + "documentation": "The TCP port of the HTTP server is privileged or already in use or one of the HTTP bind addresses does not exist", "key": "HttpPortInUse", "value": 2003 }, @@ -5486,6 +5553,37 @@ 12, 9 ] + }, + { + "args": [ + { + "name": "arg0", + "sdk_name": "queueId", + "sdk_type": "const char *" + }, + { + "name": "arg1", + "sdk_name": "valueId", + "sdk_type": "uint64_t" + } + ], + "c_function": "OrthancPluginAcknowledgeQueueValue", + "documentation": { + "args": { + "queueId": "A unique identifier identifying both the plugin and the queue.", + "valueId": "The opaque identifier for the value provided by OrthancPluginReserveQueueValue()." + }, + "description": [], + "return": "0 if success, other value if error.", + "summary": "Acknowledge that a queue value has been properly consumed by the plugin and can be permanently removed from the queue." + }, + "return_sdk_enumeration": "OrthancPluginErrorCode", + "return_sdk_type": "enumeration", + "since_sdk": [ + 1, + 12, + 10 + ] } ], "unwrapped_functions": [ @@ -5538,6 +5636,11 @@ "OrthancPluginGetQueueSize", "OrthancPluginSetStableStatus", "OrthancPluginRegisterHttpAuthentication", - "OrthancPluginRegisterAuditLogHandler" + "OrthancPluginRegisterAuditLogHandler", + "OrthancPluginReserveQueueValue", + "OrthancPluginRegisterWorklistCallback2", + "OrthancPluginRegisterFindCallback2", + "OrthancPluginRegisterMoveCallback2", + "OrthancPluginRegisterStorageCommitmentScpCallback2" ] } \ No newline at end of file
