kclangc.h | kclangc.h | |||
---|---|---|---|---|
skipping to change at line 498 | skipping to change at line 498 | |||
* @param db a database object. | * @param db a database object. | |||
* @param kbuf the pointer to the key region. | * @param kbuf the pointer to the key region. | |||
* @param ksiz the size of the key region. | * @param ksiz the size of the key region. | |||
* @param ovbuf the pointer to the old value region. NULL means that no re cord corresponds. | * @param ovbuf the pointer to the old value region. NULL means that no re cord corresponds. | |||
* @param ovsiz the size of the old value region. | * @param ovsiz the size of the old value region. | |||
* @param nvbuf the pointer to the new value region. NULL means that the r ecord is removed. | * @param nvbuf the pointer to the new value region. NULL means that the r ecord is removed. | |||
* @param nvsiz the size of new old value region. | * @param nvsiz the size of new old value region. | |||
* @return true on success, or false on failure. | * @return true on success, or false on failure. | |||
*/ | */ | |||
int32_t kcdbcas(KCDB* db, const char* kbuf, size_t ksiz, | int32_t kcdbcas(KCDB* db, const char* kbuf, size_t ksiz, | |||
const char* nvbuf, size_t nvsiz, const char* ovbuf, size_t ovsiz); | const char* ovbuf, size_t ovsiz, const char* nvbuf, size_t nvsiz); | |||
/** | /** | |||
* Remove a record. | * Remove a record. | |||
* @param db a database object. | * @param db a database object. | |||
* @param kbuf the pointer to the key region. | * @param kbuf the pointer to the key region. | |||
* @param ksiz the size of the key region. | * @param ksiz the size of the key region. | |||
* @return true on success, or false on failure. | * @return true on success, or false on failure. | |||
* @note If no record corresponds to the key, false is returned. | * @note If no record corresponds to the key, false is returned. | |||
*/ | */ | |||
int32_t kcdbremove(KCDB* db, const char* kbuf, size_t ksiz); | int32_t kcdbremove(KCDB* db, const char* kbuf, size_t ksiz); | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||