-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathindex.js
48 lines (48 loc) · 1.26 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
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.echoScu = echoScu;
exports.findScu = findScu;
exports.getScu = getScu;
exports.moveScu = moveScu;
exports.storeScu = storeScu;
exports.startStoreScp = startStoreScp;
exports.shutdownScu = shutdownScu;
exports.parseFile = parseFile;
exports.recompress = recompress;
var addon = require('bindings')('dcmtk.node');
;
;
;
;
;
;
;
;
;
function echoScu(options, callback) {
addon.echoScu(JSON.stringify(options), callback);
}
function findScu(options, callback) {
addon.findScu(JSON.stringify(options), callback);
}
function getScu(options, callback) {
addon.getScu(JSON.stringify(options), callback);
}
function moveScu(options, callback) {
addon.moveScu(JSON.stringify(options), callback);
}
function storeScu(options, callback) {
addon.storeScu(JSON.stringify(options), callback);
}
function startStoreScp(options, callback) {
addon.startScp(JSON.stringify(options), callback);
}
function shutdownScu(options, callback) {
addon.shutdownScu(JSON.stringify(options), callback);
}
function parseFile(options, callback) {
addon.parseFile(JSON.stringify(options), callback);
}
function recompress(options, callback) {
addon.recompress(JSON.stringify(options), callback);
}