Example #1
0
 /* Unlock
  *  remove lock
  *
  *  if object is already unlocked, the operation is idempotent
  *  and returns an rc state of rcUnlocked
  *
  *  "type" [ IN ] - a KDBPathType
  *  valid values are kptDatabase, kptTable and kptIndex
  *
  *  "path" [ IN ] - NUL terminated path
  */
 inline rc_t CC Unlock ( uint32_t type, const char *name, ... ) throw ()
 {
     va_list args;
     va_start ( args, name );
     rc_t rc = VDatabaseVUnlock ( this, type, name, args );
     va_end ( args );
     return rc;
 }
Example #2
0
LIB_EXPORT rc_t CC VDatabaseUnlock ( VDatabase *self, uint32_t type, const char *name, ... )
{
    rc_t rc;

    va_list args;
    va_start ( args, name );

    rc = VDatabaseVUnlock ( self, type, name, args );

    va_end ( args );

    return rc;
}
Example #3
0
 inline rc_t CC Unlock ( uint32_t type, const char *name, va_list args ) throw ()
 { return VDatabaseVUnlock ( this, type, name, args ); }