From f484fa61befdfb2a228cef474ed38d65f1c8008d Mon Sep 17 00:00:00 2001 From: Gregory Minshall Date: Mon, 25 May 1987 15:56:00 -0800 Subject: [PATCH] date and time created 87/05/25 08:56:00 by minshall SCCS-vsn: usr.bin/tn3270/api/README 1.1 --- usr/src/usr.bin/tn3270/api/README | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 usr/src/usr.bin/tn3270/api/README diff --git a/usr/src/usr.bin/tn3270/api/README b/usr/src/usr.bin/tn3270/api/README new file mode 100644 index 0000000000..e25c33dc22 --- /dev/null +++ b/usr/src/usr.bin/tn3270/api/README @@ -0,0 +1,30 @@ +apilib/ + +The files in this directory are not part of tn3270 proper. + +They provide a C interface to the 3270 Applications Programming +Interface (API) provided by tn3270. + +This interface is modeled after (and supposed to be compatible +with) the "low level" API provided with IBM's 3270 PC control +program version 3. Note that we only provide a subset of the +API functionality. This subset is (again supposed to be) consistent +with that subset provided by the IBM PC 3270 Emulation Program +version 3.00. This subset is (somewhat sketchily) documented +in Volume 4, Number 4 of the IBM Personal Computer Proceedings. +The 3270 PC API itself is documented in SA23-0221 (I have revision +-01) "IBM 3270 Personal Computer Control Program -- Programming +Guide". + +The INTENT is to allow the API from both MSDOS and from Unix. Note, +however, that at the current time only MSDOS is supported. + +Now, to program: + +First, call "api_init()". If it returns "1", then all is OK. If +it returns "0", then the API is not active. + +From then on, call whatever seems right. + +You will need to include "../ctlr/oia.h" and "../api/api.h", at a +minimum. -- 2.20.1