[ The ECLiPSe Built-In Predicates | Reference Manual | Alphabetic Index ]

External Interface

Built-ins to access functions and data from foreign languages

Predicates

call_c(+Function, ?Code)
Invoke the C function Function and unify its return code with Code.
external(+PredSpec)
Declares PredSpec to be a deterministic external predicate.
external(+PredSpec, +CName)
Defines PredSpec to be a deterministic external predicate linked to the C function whose system name is CName.
load(+File)
The object code or loadable library File is loaded into the running system.
new_socket_server(?Socket, ?Address, ++Queue)
Opens a new IP socket server stream with a maximum of Queue connections.
peer(?Peer)
Checks or enumerates peer names
peer_get_property(++Peer, ?Property, ?Value)
Returns the properties of the peer Peer.
peer_queue_close(++Queue)
Closes the peer queue Queue from ECLiPSe side.
peer_queue_create(++Queue, ++Peer, ++QueueType, ?Direction, ++Event)
Create a new peer queue Queue for Peer from ECLiPSe side.
peer_queue_get_property(++Queue, ?Property, ?Value)
Get or enumerate properties of a peer queue Queue.
remote_connect(?Address, ?Peer, ?InitGoal)
Initiate a remote interface connection
remote_connect_accept(++Peer, ++Socket, ++TimeOut, ?InitGoal, +PassTerm, -InitRes)
Second half of initiating a remote interface connection.
remote_connect_setup(?Address, ?Peer, -Socket)
First half of initiating a remote interface connection.
remote_disconnect(++Peer)
Disconnect the remote peer Peer
remote_yield(++Peer)
Explicitly yield to the remote peer Peer
xget(+Handle, +Index, -Value)
Get the Index-th field of an external data structure (referenced by Handle).
xset(+Handle, +Index, +Value)
Set the Index-th field of an external data structure (referenced by Handle) to Value.
yield(+ToC, -FromC)
Yield control to the C/C++ main program that has invoked ECLiPSe. The arguments are used for passing data in and out.

Description

For more information, see the Embedding and Interfacing Manual
Generated from externals.eci on Wed May 15 03:40:21 2002