Logo Search packages:      
Sourcecode: qdbm version File versions  Download package

int Villa::inode (  )  throw (Villa_error) [virtual]

Get the inode number of the database file.

Returns:
the inode number of the database file.
Exceptions:
Villa_error if an error occurs.

Definition at line 463 of file xvilla.cc.

References qdbm::mutex, and villa.

                                   {
  int rv;
  if(!villa) throw Villa_error();
  if(pthread_mutex_lock(&mutex) != 0) throw Villa_error();
  rv = vlinode(villa);
  pthread_mutex_unlock(&mutex);
  return rv;
}


Generated by  Doxygen 1.6.0   Back to index