Every callback function must return a CTDBRET value. If no errors are detected the callback function must return CTDBRET_OK. If a callback is not yet implemented it should return CTDBRET_NOTIMPLEMENTED. Please refer to the ctdbsdk.h header file for valid values for CTDBRET.