From: Michal Voců Date: Wed, 21 Mar 2007 16:24:48 +0000 (+0000) Subject: * added field to remember file modification time X-Git-Tag: glite-lb-logger_R_1_3_6_1~4 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=8a21bf325965b99064c651f4bf722103615bdfce;p=jra1mw.git * added field to remember file modification time --- diff --git a/org.glite.lb.logger/src/interlogd.h b/org.glite.lb.logger/src/interlogd.h index 9ec0d55..810314e 100644 --- a/org.glite.lb.logger/src/interlogd.h +++ b/org.glite.lb.logger/src/interlogd.h @@ -92,6 +92,7 @@ struct event_store { long last_committed_bs; /* offset behind event that was last committed by BS */ long last_committed_ls; /* -"- LS */ long offset; /* expected file position of next event */ + time_t last_modified; /* time of the last file modification */ int recovering; /* flag for recovery mode */ pthread_rwlock_t update_lock; /* lock to prevent simultaneous updates */ pthread_rwlock_t use_lock; /* lock to prevent struct deallocation */