Top-level APIs
The top-level APIs allow more customization to both the client and the
service while still maintaining an ease of development and use.
The top-level APIs are:
- clnt_call() (Call a remote procedure associated with the client) calls the remote procedure that is associated with the client handle pointed to by the clnt parameter.
- clnt_control() (Change information about a client object) is used to change or retrieve information about a client object.
- clnt_create() (Create a generic client handle) creates and returns a generic client handle for program prognum and version versnum on a remote host where the server is located.
- clnt_destroy() (Destroy the RPC Client's Handle) destroys the RPC client's handle.
- svc_create() (Create a server handle) creates server handles for all the transports belonging to the class nettype.
- svc_destroy() (Destroy an RPC service transport handle) destroys an RPC service transport handle.