Mercurial > hg > orthanc-python
annotate Resources/OrthancCPlugin-1.10.0.patch @ 178:194ba7d6e0f4 java-code-model
integration mainline->java-code-model
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 27 Jun 2024 18:51:36 +0200 |
parents | d63c58d650ff |
children |
rev | line source |
---|---|
143
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
1 --- OrthancCPlugin.h.orig 2023-10-14 17:06:44.406226125 +0200 |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
2 +++ OrthancCPlugin.h 2023-10-14 17:09:26.978745058 +0200 |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
3 @@ -837,7 +837,7 @@ |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
4 **/ |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
5 typedef enum |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
6 { |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
7 - OrthancPluginDicomToJsonFlags_None = 0, |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
8 + OrthancPluginDicomToJsonFlags_None = 0, /*!< Default formatting */ |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
9 OrthancPluginDicomToJsonFlags_IncludeBinary = (1 << 0), /*!< Include the binary tags */ |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
10 OrthancPluginDicomToJsonFlags_IncludePrivateTags = (1 << 1), /*!< Include the private tags */ |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
11 OrthancPluginDicomToJsonFlags_IncludeUnknownTags = (1 << 2), /*!< Include the tags unknown by the dictionary */ |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
12 @@ -858,7 +858,7 @@ |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
13 **/ |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
14 typedef enum |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
15 { |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
16 - OrthancPluginCreateDicomFlags_None = 0, |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
17 + OrthancPluginCreateDicomFlags_None = 0, /*!< Default mode */ |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
18 OrthancPluginCreateDicomFlags_DecodeDataUriScheme = (1 << 0), /*!< Decode fields encoded using data URI scheme */ |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
19 OrthancPluginCreateDicomFlags_GenerateIdentifiers = (1 << 1), /*!< Automatically generate DICOM identifiers */ |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
20 |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
21 @@ -975,32 +975,46 @@ |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
22 **/ |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
23 typedef enum |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
24 { |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
25 + /** |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
26 + * Success: The DICOM instance is properly stored in the SCP |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
27 + **/ |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
28 OrthancPluginStorageCommitmentFailureReason_Success = 0, |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
29 - /*!< Success: The DICOM instance is properly stored in the SCP */ |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
30 |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
31 + /** |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
32 + * 0110H: A general failure in processing the operation was encountered |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
33 + **/ |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
34 OrthancPluginStorageCommitmentFailureReason_ProcessingFailure = 1, |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
35 - /*!< 0110H: A general failure in processing the operation was encountered */ |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
36 |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
37 + /** |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
38 + * 0112H: One or more of the elements in the Referenced SOP |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
39 + * Instance Sequence was not available |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
40 + **/ |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
41 OrthancPluginStorageCommitmentFailureReason_NoSuchObjectInstance = 2, |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
42 - /*!< 0112H: One or more of the elements in the Referenced SOP |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
43 - Instance Sequence was not available */ |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
44 |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
45 + /** |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
46 + * 0213H: The SCP does not currently have enough resources to |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
47 + * store the requested SOP Instance(s) |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
48 + **/ |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
49 OrthancPluginStorageCommitmentFailureReason_ResourceLimitation = 3, |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
50 - /*!< 0213H: The SCP does not currently have enough resources to |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
51 - store the requested SOP Instance(s) */ |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
52 |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
53 + /** |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
54 + * 0122H: Storage Commitment has been requested for a SOP Instance |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
55 + * with a SOP Class that is not supported by the SCP |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
56 + **/ |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
57 OrthancPluginStorageCommitmentFailureReason_ReferencedSOPClassNotSupported = 4, |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
58 - /*!< 0122H: Storage Commitment has been requested for a SOP |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
59 - Instance with a SOP Class that is not supported by the SCP */ |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
60 |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
61 + /** |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
62 + * 0119H: The SOP Class of an element in the Referenced SOP |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
63 + * Instance Sequence did not correspond to the SOP class |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
64 + * registered for this SOP Instance at the SCP |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
65 + **/ |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
66 OrthancPluginStorageCommitmentFailureReason_ClassInstanceConflict = 5, |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
67 - /*!< 0119H: The SOP Class of an element in the Referenced SOP |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
68 - Instance Sequence did not correspond to the SOP class registered |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
69 - for this SOP Instance at the SCP */ |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
70 |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
71 + /** |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
72 + * 0131H: The Transaction UID of the Storage Commitment Request is |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
73 + * already in use |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
74 + **/ |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
75 OrthancPluginStorageCommitmentFailureReason_DuplicateTransactionUID = 6 |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
76 - /*!< 0131H: The Transaction UID of the Storage Commitment Request |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
77 - is already in use */ |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
78 } OrthancPluginStorageCommitmentFailureReason; |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
79 |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
80 |
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
81 @@ -1829,15 +1843,16 @@ |
142
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
82 * @see OrthancPluginCheckVersion |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
83 * @ingroup Callbacks |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
84 **/ |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
85 - ORTHANC_PLUGIN_INLINE int OrthancPluginCheckVersionAdvanced( |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
86 + ORTHANC_PLUGIN_INLINE int32_t OrthancPluginCheckVersionAdvanced( |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
87 OrthancPluginContext* context, |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
88 - int expectedMajor, |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
89 - int expectedMinor, |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
90 - int expectedRevision) |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
91 + int32_t expectedMajor, |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
92 + int32_t expectedMinor, |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
93 + int32_t expectedRevision) |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
94 { |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
95 - int major, minor, revision; |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
96 + int32_t major, minor, revision; |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
97 |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
98 - if (sizeof(int32_t) != sizeof(OrthancPluginErrorCode) || |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
99 + if (sizeof(int) != sizeof(int32_t) || /* Ensure binary compatibility with Orthanc SDK <= 1.12.1 */ |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
100 + sizeof(int32_t) != sizeof(OrthancPluginErrorCode) || |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
101 sizeof(int32_t) != sizeof(OrthancPluginHttpMethod) || |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
102 sizeof(int32_t) != sizeof(_OrthancPluginService) || |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
103 sizeof(int32_t) != sizeof(_OrthancPluginProperty) || |
143
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
104 @@ -1935,7 +1950,7 @@ |
142
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
105 * @see OrthancPluginCheckVersionAdvanced |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
106 * @ingroup Callbacks |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
107 **/ |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
108 - ORTHANC_PLUGIN_INLINE int OrthancPluginCheckVersion( |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
109 + ORTHANC_PLUGIN_INLINE int32_t OrthancPluginCheckVersion( |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
110 OrthancPluginContext* context) |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
111 { |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
112 return OrthancPluginCheckVersionAdvanced( |
143
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
113 @@ -3077,7 +3092,7 @@ |
142
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
114 * @return 1 if the metadata is present, 0 if it is absent, -1 in case of error. |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
115 * @ingroup DicomInstance |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
116 **/ |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
117 - ORTHANC_PLUGIN_INLINE int OrthancPluginHasInstanceMetadata( |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
118 + ORTHANC_PLUGIN_INLINE int32_t OrthancPluginHasInstanceMetadata( |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
119 OrthancPluginContext* context, |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
120 const OrthancPluginDicomInstance* instance, |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
121 const char* metadata) |
143
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
122 @@ -3856,13 +3871,13 @@ |
142
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
123 OrthancPluginContext* context, |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
124 OrthancPluginRestOutput* output, |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
125 uint16_t status, |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
126 - const char* body, |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
127 + const void* body, |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
128 uint32_t bodySize) |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
129 { |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
130 _OrthancPluginSendHttpStatus params; |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
131 params.output = output; |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
132 params.status = status; |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
133 - params.body = body; |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
134 + params.body = reinterpret_cast<const char*>(body); |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
135 params.bodySize = bodySize; |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
136 context->InvokeService(context, _OrthancPluginService_SendHttpStatus, ¶ms); |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
137 } |
143
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
138 @@ -6760,7 +6775,7 @@ |
142
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
139 { |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
140 char** resultId; |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
141 OrthancPluginJob *job; |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
142 - int priority; |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
143 + int32_t priority; |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
144 } _OrthancPluginSubmitJob; |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
145 |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
146 /** |
143
d63c58d650ff
fix documentation in Orthanc SDK
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
142
diff
changeset
|
147 @@ -6779,7 +6794,7 @@ |
142
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
148 ORTHANC_PLUGIN_INLINE char *OrthancPluginSubmitJob( |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
149 OrthancPluginContext *context, |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
150 OrthancPluginJob *job, |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
151 - int priority) |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
152 + int32_t priority) |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
153 { |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
154 char* resultId = NULL; |
6288b8132659
replaced "int" by "int32_t" in the SDK to prevent any ABI issue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
155 |