Name Date Size #Lines LOC

..--

READMEH A D04-Dec-19881.1 KiB3122

api_bsd.cH A D07-Jan-19945.9 KiB256226

api_exch.cH A D06-Jun-19937.7 KiB404344

api_exch.hH A D06-Jun-19933.5 KiB13632

apilib.cH A D06-Jun-19937.5 KiB386298

apilib.hH A D06-Jun-1993439 195

asc_ebc.cH A D06-Jun-19933.4 KiB8562

asc_ebc.hH A D06-Jun-1993495 265

ascebc.hH A D04-Dec-19881.5 KiB4113

asctab.cH A D04-Dec-19885.6 KiB11870

astosc.cH A D06-Jun-19931.3 KiB7347

astosc.hH A D06-Jun-1993791 3310

dctype.cH A D06-Jun-19932.4 KiB220198

dctype.hH A D06-Jun-1993751 2916

disp_asc.cH A D06-Jun-1993375 206

disp_asc.hH A D06-Jun-1993410 183

ebc_disp.cH A D06-Jun-19933.4 KiB8163

ebc_disp.hH A D06-Jun-1993239 133

makefileH A D26-Apr-19911.8 KiB9463

test.cH A D04-Dec-19886.6 KiB260221

README

1apilib/
2
3The files in this directory are not part of tn3270 proper.
4
5They provide a C interface to the 3270 Applications Programming
6Interface (API) provided by tn3270.
7
8This interface is modeled after (and supposed to be compatible
9with) the "low level" API provided with IBM's 3270 PC control
10program version 3.  Note that we only provide a subset of the
11API functionality.  This subset is (again supposed to be) consistent
12with that subset provided by the IBM PC 3270 Emulation Program
13version 3.00.  This subset is (somewhat sketchily) documented
14in Volume 4, Number 4 of the IBM Personal Computer Proceedings.
15The 3270 PC API itself is documented in SA23-0221 (I have revision
16-01) "IBM 3270 Personal Computer Control Program -- Programming
17Guide".
18
19The INTENT is to allow the API from both MSDOS and from Unix.  Note,
20however, that at the current time only MSDOS is supported.
21
22Now, to program:
23
24First, call "api_init()".  If it returns "1", then all is OK.  If
25it returns "0", then the API is not active.
26
27From then on, call whatever seems right.
28
29You will need to include "../ctlr/oia.h" and "../api/api.h", at a
30minimum.
31