rpc_ns_profile_delete(3) — Subroutines
NAME
rpc_ns_profile_delete - Deletes a profile attribute
Used by client, server, or management applications.
SYNOPSIS
#include <dce/rpc.h>
void rpc_ns_profile_delete(
unsigned32 profile_name_syntax ,
unsigned_char_t ∗profile_name ,
unsigned32 ∗status );
PARAMETERS
Input
profile_name_syntax
An integer value that specifies the syntax of argument profile_name. To use the syntax specified in the RPC_DEFAULT_ENTRY_SYNTAX environment variable, provide the integer value rpc_c_ns_syntax_default.
profile_nameSpecifies the name of the profile to delete. This can be either the global or cell-relative name.
Output
statusReturns 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_okSuccess.
rpc_s_entry_not_foundName service entry not found.
rpc_s_incomplete_nameIncomplete name.
rpc_s_invalid_name_syntaxInvalid name syntax.
rpc_s_name_service_unavailable
Name service unavailable.
rpc_s_no_ns_permissionNo permission for name service operation.
rpc_s_unsupported_name_syntax
Unsupported name syntax.
DESCRIPTION
The rpc_ns_profile_delete routine deletes the profile attribute from the specified entry in the name service database (argument profile_name).
Neither the specified entry nor the entry names included as members in each profile element are deleted.
Use this routine cautiously; deleting a profile may break a hierarchy of profiles.
Permissions Required
You need write permission to the CDS object entry (the target profile entry).
NOTE:
For this release, the RPC naming service (rpc_ns) routines are not implemented, nor is an independent naming service provided.
RETURN VALUES
None.
RELATED INFORMATION
Functions: rpc_ns_profile_elt_add(3), rpc_ns_profile_elt_remove(3)