date and time created 87/05/25 08:56:00 by minshall
authorGregory Minshall <minshall@ucbvax.Berkeley.EDU>
Mon, 25 May 1987 23:56:00 +0000 (15:56 -0800)
committerGregory Minshall <minshall@ucbvax.Berkeley.EDU>
Mon, 25 May 1987 23:56:00 +0000 (15:56 -0800)
SCCS-vsn: usr.bin/tn3270/api/README 1.1

usr/src/usr.bin/tn3270/api/README [new file with mode: 0644]

diff --git a/usr/src/usr.bin/tn3270/api/README b/usr/src/usr.bin/tn3270/api/README
new file mode 100644 (file)
index 0000000..e25c33d
--- /dev/null
@@ -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.