From 627fd8a8aa380c3343800012c58ff0431c566614 Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Sun, 21 Jun 2009 18:16:21 +0000 Subject: Basic lock mechanism implemented to avoid having two calcurse instances running at the same time. --- src/io.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/io.h') diff --git a/src/io.h b/src/io.h index ee70da6..edaec47 100755 --- a/src/io.h +++ b/src/io.h @@ -1,4 +1,4 @@ -/* $calcurse: io.h,v 1.18 2008/12/28 19:41:45 culot Exp $ */ +/* $calcurse: io.h,v 1.19 2009/06/21 18:16:22 culot Exp $ */ /* * Calcurse - text-based organizer @@ -68,5 +68,7 @@ void io_log_display (io_file_t *, char *, char *); void io_log_free (io_file_t *); void io_start_psave_thread (conf_t *); void io_stop_psave_thread (void); +void io_set_lock (void); +void io_unset_lock (void); #endif /* !CALCURSE_IO_H */ -- cgit v1.2.3-54-g00ecf