ctdbGetTableOpenMode
Retrieve the table open mode.
Declaration
CTOPEN_MODE ctdbGetTableOpenMode(CTHANDLE Handle)
Description
ctdbGetTableOpenMode() retrieves the table open mode. Notice that a few modes are used when a file is created and cannot be changed after that. Two such modes are ctFIXED and VLENGTH, since it is not possible to change a file from fixed to variable length after its creation. Other values like EXCLUSIVE or SHARED may be changed after the table creation. To retrieve the table creation mode, use ctdbGetTableCreateMode(). To open a table, use ctdbOpenTable().
The valid values for the table open mode are listed in c-treeDB API definitions.
Returns
ctdbGetTableOpenMode() returns the table open mode.
See also
ctdbAllocTable(), ctdbOpenTable()