-
Notifications
You must be signed in to change notification settings - Fork 19
/
index.js
49 lines (49 loc) · 1.4 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
"use strict";
exports.__esModule = true;
exports.recompress = exports.parseFile = exports.shutdownScu = exports.startStoreScp = exports.storeScu = exports.moveScu = exports.getScu = exports.findScu = exports.echoScu = void 0;
var addon = require('bindings')('dcmtk.node');
;
;
;
;
;
;
;
;
;
function echoScu(options, callback) {
addon.echoScu(JSON.stringify(options), callback);
}
exports.echoScu = echoScu;
function findScu(options, callback) {
addon.findScu(JSON.stringify(options), callback);
}
exports.findScu = findScu;
function getScu(options, callback) {
addon.getScu(JSON.stringify(options), callback);
}
exports.getScu = getScu;
function moveScu(options, callback) {
addon.moveScu(JSON.stringify(options), callback);
}
exports.moveScu = moveScu;
function storeScu(options, callback) {
addon.storeScu(JSON.stringify(options), callback);
}
exports.storeScu = storeScu;
function startStoreScp(options, callback) {
addon.startScp(JSON.stringify(options), callback);
}
exports.startStoreScp = startStoreScp;
function shutdownScu(options, callback) {
addon.shutdownScu(JSON.stringify(options), callback);
}
exports.shutdownScu = shutdownScu;
function parseFile(options, callback) {
addon.parseFile(JSON.stringify(options), callback);
}
exports.parseFile = parseFile;
function recompress(options, callback) {
addon.recompress(JSON.stringify(options), callback);
}
exports.recompress = recompress;