rpc_ns_mgmt_entry_delete- deletes an entry from the name service database
void rpc_ns_mgmt_entry_delete( unsigned32 entry_name_syntax, unsigned_char_t *entry_name, unsigned32 *status);
- An integer value that specifies the syntax of argument entry_name. (See
Name Syntax Constantsfor the possible values of this argument.)
The value rpc_c_ns_syntax_default specifies the syntax specified by the RPC_DEFAULT_ENTRY_SYNTAX environment variable.
- The name of the entry to delete. The entry name syntax is identified by the argument entry_name_syntax.
- 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:
Name service entry not found.
Name service unavailable.
No permission for name service operation.
Not an RPC entry.
Unsupported name syntax.
The rpc_ns_mgmt_entry_delete() routine removes an RPC entry from the name service database.
- Management applications use this routine only when an entry is no longer needed, such as when a server is permanently removed from service. If the entry is a member of a group or profile, it must also be deleted from the group or profile.
The application needs read permission for the target name service entry. The application also needs delete permission for the entry or for the parent directory.
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.