CLIENT* <interface>_bind(char*host, u_long pno, u_long vno, char*protocol)
Return value: On success, it returns a pointer to CLIENT struct. On failure, it returns NULL.
This function binds the client to the RPC server specified by the parameters. All subsequent RPC calls go to the specified server. The client application may save the returned client handle, so it can talk to multiple servers.
void <interface>_bind_handle(CLIENT*pclnt)
This function binds the client to a previously bound server. All subsequent RPC calls go to this server.
void <interface>_unbind(CLIENT*pclnt)
This function unbinds the client to a server.
enum clnt_stat <interface>_errno(CLIENT*pclnt)
This function returns the RPC call status after an RPC has been made. If this is not RPC_SUCCESS, an error condition has occured.