Functions | |
RDM_RETCODE | rdm_cursorGetLockStatus (RDM_CURSOR cursor, RDM_LOCK_STATUS *status) |
Get the lock status of a table. More... | |
API for other miscellaneous core cursor functions. All the functions here are located in RDM DB Engine Library. Linker option:
-lrdmrdm
See RDM Cursor APIs for a more detailed description of a cursor.
RDM_RETCODE rdm_cursorGetLockStatus | ( | RDM_CURSOR | cursor, |
RDM_LOCK_STATUS * | status | ||
) |
#include <rdmcursorapi.h>
Get the lock status of a table.
This function returns the current lock status of the table the cursor is based on. If the database handle that cursor is based on does not have a lock on the table then the status will be RDM_LOCK_FREE regardless of whether any other users have the table locked.
sOKAY | Normal, successful return. |
eDBNOTOPEN | Database not open. |
[in] | cursor | A valid RDM_CURSOR handle |
[out] | status | The current lock status for the table associated with the cursor |