rpc_ns_mgmt_inq_exp_age(3rpc)Returns the application's global expiration age for local copies of name service data Used by client, server, or management applications. Synopsis #include <dce/rpc.h> void rpc_ns_mgmt_inq_exp_age( unsigned32 *expiration_age, unsigned32 *status); Parameters Input None. Output
expiration_age
status
Description The RPC NSI next operations, which read data from name service attributes, use an expiration age. A next operation normally starts by looking for a local copy of the attribute data that an application requests. In the absence of a local copy, the next operation creates one with fresh attribute data from the name service database. If a local copy already exists, the operation compares its actual age to the expiration age being used by the application. If the actual age exceeds the expiration age, the operation automatically tries to update the local copy with fresh attribute data from the name service database. If updating is impossible, the old local data remains in place and the next operation fails, returning the rpc_s_name_service_unavailable status code. Applications normally use only the default expiration age. For special cases, an application can substitute a user-supplied global expiration age for the default by calling rpc_ns_mgmt_set_exp_age( ). The rpc_ns_mgmt_inq_exp_age( ) routine returns the current global expiration age, whether it is a default or a user-supplied value. An application can also override the global expiration age temporarily by calling rpc_ns_mgmt_handle_set_exp_age( ).
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
Related Information
|