xdr_callmsg(3) CLIX xdr_callmsg(3)
NAME
xdr_callmsg - Library function for remote procedure calls
LIBRARY
Berkeley Software Distribution Library (libbsd.a)
SYNOPSIS
#include <sys/xdr.h>
xdr_callmsg(
XDR *xdrs ,
struct rpc_msg *cmsg );
PARAMETERS
xdrs Specifies the address of the XDR handle.
cmsg Specifies the address of the RPC message.
DESCRIPTION
The xdr_callmsg() function allows C programs to make procedure calls on
other machines across the network. First, the client calls a procedure to
send a data packet to the server. Upon receipt of the packet, the server
calls a dispatch routine to perform the requested service, and then sends
back a reply. Finally, the procedure call returns to the client.
The xdr_callmsg() function is used for describing RPC messages,
externally. This function is useful for users who wish to generate RPC-
style messages without using the RPC package.
RETURN VALUES
This function returns 1 if successful, and 0 otherwise.
RELATED INFORMATION
Functions: xdr_int(3), xdr_bytes(3), xdr_getpos(3), xdr_pointer(3),
xdrrec_create(3), xdr_array(3), xdr_destroy(3), xdr_free(3),
xdr_inline(3), xdrmem_create(3), xdr_opaque(3), xdr_union(3),
xdr_vector(3), xdr_void(3)
CLIX Programming Guide
2/94 - Intergraph Corporation 1