| 
 
 rpc_ns_group_mbr_inq_next(3rpc)Returns one member name at a time from a group Used by client, server, or management applications. Synopsis #include <dce/rpc.h> void rpc_ns_group_mbr_inq_next( rpc_ns_handle_t inquiry_context, unsigned_char_t **member_name, unsigned32 *status); Parameters Input 
inquiry_context  Output 
member_name  Specify NULL to prevent the routine from returning this parameter. In this case, the application does not call rpc_string_free( ). 
status  
Description  An application can view all the members of an RPC group by calling the rpc_ns_group_mbr_inq_next( ) routine repeatedly. When all the group members have been viewed, this routine returns an rpc_s_no_more_members status. The returned group members are unordered. On each call to this routine that returns a member name (as a global name), the RPC runtime allocates memory for the returned member_name. The application calls rpc_string_free( ) for each returned member_name string. After viewing the RPC group's members, the application must call the rpc_ns_group_mbr_inq_done( ) routine to delete the inquiry context. 
Permissions Required  
Return Values  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  
rpc_s_class_version_mismatch  
rpc_s_entry_not_found  
rpc_s_invalid_ns_handle  
rpc_s_name_service_unavailable  
rpc_s_no_more_members  
rpc_s_no_ns_permission  
rpc_s_not_rpc_entry  
Related Information  rpc_ns_group_mbr_inq_done(3rpc) 
 
 
  |