HELPLIB.HLB  —  DCE  DCE_RPC, Application Routines, rpc_network_inq_protseqs
 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

   #include <dce/rpc.h>(

   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.

   status  Returns the status code from this routine.  This status code
           indicates whether the routine completed successfully or, if
           not, why not.  The possible status codes and their meanings
           are as follows:

           rpc_s_ok                 Success.

           rpc_s_no_protseqs        No supported protocol sequences.

 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.

 RELATED INFORMATION

   Functions: rpc_network_is_protseq_valid
              rpc_protseq_vector_free
Close Help