aboutsummaryrefslogtreecommitdiffstats
path: root/src/io.h
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2009-06-21 18:16:21 +0000
committerFrederic Culot <calcurse@culot.org>2009-06-21 18:16:21 +0000
commit627fd8a8aa380c3343800012c58ff0431c566614 (patch)
tree3209af506b43c59ef558eda23680ec6c32fdb017 /src/io.h
parentbff0d973a426a5c9b55e824ab2a11560a2245938 (diff)
downloadcalcurse-627fd8a8aa380c3343800012c58ff0431c566614.tar.gz
calcurse-627fd8a8aa380c3343800012c58ff0431c566614.zip
Basic lock mechanism implemented to avoid having two calcurse instances running at the same time.
Diffstat (limited to 'src/io.h')
-rwxr-xr-xsrc/io.h4
1 files changed, 3 insertions, 1 deletions
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 */