Daylight v4.9
Release Date: 1 February 2008

Name

dt_thor_readonly - return TRUE if a database is read-only

Generic Prototype

dt_thor_readonly(dt_Handle) => dt_Boolean

C Prototype

#include "dt_thor.h"

dt_Boolean dt_thor_readonly(dt_Handle database)

FORTRAN Prototype

include 'dt_f_thor.inc'

logical dt_f_thor_readonly(database)

integer*4 database

Description

Returns TRUE if "database" is a THOR database object and the database it represents is "read only". Returns FALSE if the database is writable or if the object is not a database object.

See dt_thor_setreadonly(3) for more information about read-only databases.

Related Topics

dt_database(3) dt_exists(3) dt_getpasswords(3) dt_getusers(3) dt_isopen(3) dt_ispublic(3) dt_setpassword(3) dt_thor_autocrunch_limit(3) dt_thor_cache(3) dt_thor_cachecontrol(3) dt_thor_getauxillarydb(3) dt_thor_setauxillarydb(3) dt_thor_setreadonly(3)