dced_entry_remove(3dce)Removes a hostdata or keytab data entry from a dced service's list of entries Synopsis #include <dce/dced.h> void dced_entry_remove( dced_binding_handle_t dced_bh, uuid_t *entry_uuid, error_status_t *status); Parameters Input
dced_bh
entry_uuid Output
status
Description To delete both the data and entry for the hostdata, keytab, or srvrconf services use dced_hostdata_delete( ), dced_keytab_delete( ), or dced_server_delete( ), respectively. (The srvrexec service is maintained only be dced and the secval service does not maintain data, so you cannot remove data for these services.) Applications commonly obtain an entry by traversing the entry list using the dced_entry_get_next( ) routine with its associated cursor routines. Prior to calling the dced_entry_remove( ) routine, the application must have established a valid dced binding handle to the hostdata or keytab service by calling either the dced_binding_create( ) or dced_binding_from_rpc_binding( ) routine. 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. error_status_ok db_s_del_failed db_s_key_not_found db_s_readonly dced_s_bad_binding dced_s_no_support dced_s_not_found sec_acl_invalid_permission
Related Information dced_binding_from_rpc_binding(3dce) Book: OSF DCE Application Development Guide - Core Components
|