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

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

Get the last modified time of the database.

the last modified time the database.
Villa_error if an error occurs.

Definition at line 473 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 = vlmtime(villa);
  return rv;

Generated by  Doxygen 1.6.0   Back to index