rrpc_inq_interfaces.3ncs

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 3NCS 代码 · 共 82 行

3NCS
82
字号
.TH rrpc_inq_interfaces 3ncs.SH Namerrpc_inq_interfaces \- obtain a list of the interfaces that a server exports.SH Syntax#include <idl/c/rrpc.h>void rrpc_$inq_interfaces(\fIhandle, max_ifs, ifs, l_if, status\fP).nfhandle_t \fIhandle\fP;unsigned long \fImax_ifs\fP;rrpc_$interface_vec_t \fIifs[]\fP;unsigned long *\fIl_if\fP;status_$t *\fIstatus\fP;.fi.\".SH SYNOPSIS (PASCAL).\".DS.\"\fB%include '/usr/include/idl/pas/rrpc.ins.pas'\fR.\".\"\fBprocedure rrpc_$inq_interfaces(\fR.\"	\fBin \fIhandle\fB: handle_t;\fR.\"	\fBin \fImax_ifs\fB: unsigned32;\fR.\"	\fBout \fIifs\fB: univ rrpc_$interface_vec_t;\fR.\"	\fBout \fIl_if\fB: unsigned32;\fR.\"	\fBout \fIstatus\fB: status_$t);\fR.\".DE.SH Arguments.TP 15 \fIhandle\fRAn RPC handle..TP 15\fImax_ifs\fRThe maximum number of elements in the array of interface specifiers..TP 15\fIifs\fRAn array of \fBrpc_$if_spec_t\fR..TP 15 \fIl_if\fRThe index of the last element in the returned array..TP 15\fIstatus\fRThe completion status.  If the completion status returned in.PN status\&.allis equal to.B status_$ok ,then the routine that supplied it was successful..RE.SH DescriptionThe .PN rrpc_$inq_interfacesroutine returns an array of RPC interface specifiers..NXR "Remote Remote Procedure Call Interface" "rrpc_inq_interface".NXR "rrpc_inq_interface" "Remote Remote Procedure Call Interface".SH RestrictionsOn the client side, because of the way the.PN rrpc_calls are defined and implementedin the run-time library.PN libnck.a ,you must explicitly callinto the entry point vector table for the.PN rrpc_interface tosend an.PN rrpc_request across the network. Thefollowing is an example of a call that works.EX  (*rrpc_$client_epv.rrpc_$inq_interfaces)(handle,             (unsigned long) max_ifs, ifs, &l_if, &status);.EEThe server side stub routines call the entry point.PN rrpc_$inq_interfaceson behalf of the client.  The results of the call are thenpassed back to the client..SH Files.PN /usr/include/idl/c/rrpc.h.br.PN /usr/include/idl/rrpc.idl.SH See Alsointro(3ncs)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?