PreviousNext

sec_rgy_site_is_readonly(3sec)

Checks whether a registry site is read-only

Synopsis

#include <dce/binding.h>

boolean32 sec_rgy_site_is_readonly(

sec_rgy_handle_t context);

Parameters

Input

context
An opaque handle indicating (bound to) a registry server. Use sec_rgy_site_open( ) to acquire a bound handle.

Description
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.

Return Values
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

Files

/usr/include/dce/binding.idl
The idl file from which dce/binding.h was derived.

Related Information
Functions:

sec_intro(3sec)

sec_rgy_site_open(3sec)

sec_rgy_site_open_query(3sec)