forked from ibmruntimes/vsam.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvsam.cpp
More file actions
25 lines (20 loc) · 701 Bytes
/
Copy pathvsam.cpp
File metadata and controls
25 lines (20 loc) · 701 Bytes
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
/*
* Licensed Materials - Property of IBM
* (C) Copyright IBM Corp. 2017. All Rights Reserved.
* US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
*/
#include <node.h>
#include "VsamFile.h"
using v8::FunctionCallbackInfo;
using v8::Isolate;
using v8::Local;
using v8::Object;
using v8::String;
using v8::Value;
void InitAll(Local<Object> exports, Local<Object> module) {
VsamFile::Init(exports->GetIsolate());
NODE_SET_METHOD(exports, "openSync", VsamFile::OpenSync);
NODE_SET_METHOD(exports, "allocSync", VsamFile::AllocSync);
NODE_SET_METHOD(exports, "exist", VsamFile::Exist);
}
NODE_MODULE(vsam, InitAll)