rpc_network_inq_protseqs(3rpc) — Subroutines
NAME
rpc_network_inq_protseqs — Returns all protocol sequences supported by both the RPC runtime and the operating system; used by client and server applications
Synopsis
void rpc_network_inq_protseqs(
rpc_protseq_vector_t ∗∗protseq_vector,
unsigned32 ∗status);
Parameters
Input
None.
Output
protseq_vector
Returns the address of a protocol sequence vector.
statusReturns the status code from this routine. This status code indicates whether the routine completed successfully or, if not, why not.
Description
The rpc_network_inq_protseqs() routine obtains a vector containing the protocol sequences supported by the RPC runtime and the operating system. A server chooses to accept remote procedure calls over some or all of the supported protocol sequences. If there are no supported protocol sequences, this routine returns the rpc_s_no_protseqs status code and the value NULL in the protseq_vector parameter.
The application calls rpc_protseq_vector_free() to release the memory used by the vector.
Return Values
No value is returned.
Errors
The following describes a partial list of errors that might be returned. Refer to the OSF DCE Problem Determination Guide for complete descriptions of all error messages.
rpc_s_ok
Success.
rpc_s_no_protseqs
No supported protocol sequences.
Related Information
Functions: rpc_network_is_protseq_valid(3rpc), rpc_protseq_vector_free(3rpc).