aboutsummaryrefslogtreecommitdiffstats
path: root/src/serial.c
diff options
context:
space:
mode:
authorjames <>2008-02-15 19:09:00 +0000
committerjames <>2008-02-15 19:09:00 +0000
commit1a9a2390690cc67041ea52a0d467114be2dde17c (patch)
treef54db8751b6f7ec8b6eb3fbda512d24b889b6711 /src/serial.c
parent9d7ba333e3d966a41302941c49a1477dd61aad21 (diff)
downloadsympathy-1a9a2390690cc67041ea52a0d467114be2dde17c.tar.gz
sympathy-1a9a2390690cc67041ea52a0d467114be2dde17c.tar.bz2
sympathy-1a9a2390690cc67041ea52a0d467114be2dde17c.zip
*** empty log message ***
Diffstat (limited to 'src/serial.c')
-rw-r--r--src/serial.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/serial.c b/src/serial.c
index 429c2e3..dbd8206 100644
--- a/src/serial.c
+++ b/src/serial.c
@@ -10,6 +10,9 @@ static char rcsid[] = "$Id$";
/*
* $Log$
+ * Revision 1.5 2008/02/15 19:09:00 james
+ * *** empty log message ***
+ *
* Revision 1.4 2008/02/15 16:48:56 james
* *** empty log message ***
*
@@ -56,13 +59,16 @@ static char rcsid[] = "$Id$";
#include <dirent.h>
#include <sys/stat.h>
-#define NLOCKFILES 10
+
typedef struct
{
- char *lockfiles[NLOCKFILES];
- char *potential_lockfiles[NLOCKFILES];
- struct timeval last_content_check;
+ int mode;
+ int i;
+
+ struct timeval last_stale_purge;
+ Filelist locks_to_check;
+ Filelist locks_held;
} Serial_lock;
typedef struct