diff options
author | Frederic Culot <calcurse@culot.org> | 2009-06-21 18:16:21 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2009-06-21 18:16:21 +0000 |
commit | 627fd8a8aa380c3343800012c58ff0431c566614 (patch) | |
tree | 3209af506b43c59ef558eda23680ec6c32fdb017 /src/io.h | |
parent | bff0d973a426a5c9b55e824ab2a11560a2245938 (diff) | |
download | calcurse-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-x | src/io.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 */ |