-
Notifications
You must be signed in to change notification settings - Fork 0
/
unlink.js
36 lines (32 loc) · 945 Bytes
/
unlink.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
/*
* Copyright (c) 2017
* Qblinks Incorporated ("Qblinks").
* All rights reserved.
*
* The information contained herein is confidential and proprietary to
* Qblinks. Use of this information by anyone other than authorized employees
* of Qblinks is granted only under a written non-disclosure agreement,
* expressly prescribing the scope and manner of such use.
*/
'use strict';
const merge = require('merge');
/**
* Deactivate this channel
*
* @param {object} options object created from xim_instance() with the additional
* options to perform xim_authenticate, refer to corresponding
* documents for the details
* @param {function} callback to be used by the XIM driver
*/
function unlink(options, callback) {
const output = merge({}, options);
output.result = {
err_no: 0,
err_msg: 'ok',
};
callback(output);
}
/**
* functions exporting
*/
module.exports = unlink;