X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=sympathy.git;a=blobdiff_plain;f=src%2Flockfile.h;h=eb089edb5a89f44dd48d173f7fb7dc05b1a30d1e;hp=71cff4a157a2d00701493b50649f35c0b05e5df4;hb=cd3c335082e66f9a790a5bbb0f24a7ec49c9d3d5;hpb=0ed6cb44b131fe292d26a21f3068de2ac58e76ee diff --git a/src/lockfile.h b/src/lockfile.h index 71cff4a..eb089ed 100644 --- a/src/lockfile.h +++ b/src/lockfile.h @@ -12,6 +12,12 @@ /* * $Log$ + * Revision 1.6 2008/02/15 23:52:12 james + * *** empty log message *** + * + * Revision 1.5 2008/02/15 20:52:36 james + * *** empty log message *** + * * Revision 1.4 2008/02/15 19:51:30 james * *** empty log message *** * @@ -29,6 +35,9 @@ #ifndef __LOCKFILE_H__ #define __LOCKFILE_H__ +#define SERIAL_LOCK_PASSIVE 0 +#define SERIAL_LOCK_ACTIVE 1 + #define FILE_LIST_MAX_LEN 1024 typedef struct Filelist_ent { @@ -46,8 +55,8 @@ typedef struct int mode; int i; struct timeval last_stale_purge; - Filelist locks_to_check; - Filelist locks_held; + Filelist *locks_to_check; + Filelist *locks_held; } Serial_lock;