rpc_network_inq_protseqs- returns all protocol sequences supported both by the local implementation of the RPC run-time system and the operating system
#include <dce/rpc.h>
void rpc_network_inq_protseqs(
rpc_protseq_vector_t **protseq_vector,
unsigned32 *status);
Output
- protseq_vector
- Returns the address of a protocol sequence vector.
- status
- Returns the status code from this routine. The status code indicates whether the routine completed successfully, or if not, why not.
Possible status codes and their meanings include:
- rpc_s_ok
- Success. One or more protocol sequences are supported by the local implementation of the RPC run-time system and the operating system.
- rpc_s_no_protseqs
No supported protocol sequences.
The rpc_network_inq_protseqs() routine obtains a vector containing the protocol sequences supported by the RPC run-time system and the operating system. A protocol sequence is supported when the RPC run-time system and the operating system implement the protocol stack specified by the protocol sequence.In order to offer its services remotely, a server must accept remote procedure calls over one or more of the supported protocol sequences. When there are no supported protocol sequences, this routine returns the rpc_s_no_protseqs status code and the value NULL in the returned protseq_vector.
The application is responsible for calling the rpc_protseq_vector_free() routine to release the memory used by the returned protocol sequence vector.
None.
rpc_protseq_vector_free().
Please note that the html version of this specification may contain formatting aberrations. The definitive version is available as an electronic publication on CD-ROM from The Open Group.
Contents | Next section | Index |