Elektra Projekt
Error
Global kdbbReadLock (FILE *f)
sets KDB_ERR_NOLOCK when locking failed
Global kdbbUnlock (FILE *f)
sets KDB_ERR_NOLOCK when locking failed
Global kdbbWriteLock (FILE *f)
sets KDB_ERR_NOLOCK when locking failed
Global kdbSet_backend (KDB *handle, KeySet *returned, const Key *parentKey)
In normal execution cases a positive value will be returned. But in some cases you are not able to set keys and have to return -1. If you declare kdbcGetnoError() you are done, but otherwise you have to set the cause of the error. (Will be added with 0.7.1)