sec_rgy_site_is_readonly-Checks whether a registry site is read-only
#include <dce/binding.h> boolean32 sec_rgy_site_is_readonly( sec_rgy_handle_t context);
Input
- context
An opaque handle indicating (bound to) a registry server. Use sec_rgy_site_open() to acquire a bound handle.
The sec_rgy_site_is_readonly() routine checks whether the registry site associated with the specified handle is a query site or an update site. A query site is a read-only replica of a master registry database. The update site accepts changes to the registry database, and duplicates the changes in its associated query sites.
The routine returns:
- TRUE if the registry site is read-only or if there was an error using the specified handle
- FALSE if the registry site is an update site
- /usr/include/dce/binding.idl
The idl file from which dce/binding.h was derived.
Functions:
sec_rgy_site_open(), sec_rgy_site_open_query().