/usr/share/axiom-20170501/src/algebra/OMCONN.spad is in axiom-source 20170501-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 37 38 39 40 41 42 43 44 45 | )abbrev domain OMCONN OpenMathConnection
++ Author: Vilya Harvey
++ Description:
++ \spadtype{OpenMathConnection} provides low-level functions
++ for handling connections to and from \spadtype{OpenMathDevice}s.
OpenMathConnection() : SIG == CODE where
SIG ==> with
OMmakeConn : SingleInteger -> %
++ \spad{OMmakeConn}
OMcloseConn : % -> Void
++ \spad{OMcloseConn}
OMconnInDevice : %-> OpenMathDevice
++ \spad{OMconnInDevice:}
OMconnOutDevice : %-> OpenMathDevice
++ \spad{OMconnOutDevice:}
OMconnectTCP : (%, String, SingleInteger) -> Boolean
++ \spad{OMconnectTCP}
OMbindTCP : (%, SingleInteger) -> Boolean
++ \spad{OMbindTCP}
CODE ==> add
OMmakeConn(timeout: SingleInteger): % == OM_-MAKECONN(timeout)$Lisp
OMcloseConn(conn: %): Void == OM_-CLOSECONN(conn)$Lisp
OMconnInDevice(conn: %): OpenMathDevice ==
OM_-GETCONNINDEV(conn)$Lisp
OMconnOutDevice(conn: %): OpenMathDevice ==
OM_-GETCONNOUTDEV(conn)$Lisp
OMconnectTCP(conn: %, host: String, port: SingleInteger): Boolean ==
OM_-CONNECTTCP(conn, host, port)$Lisp
OMbindTCP(conn: %, port: SingleInteger): Boolean ==
OM_-BINDTCP(conn, port)$Lisp
|