diff options
author | Frederic Culot <calcurse@culot.org> | 2009-08-01 13:31:20 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2009-08-01 13:31:20 +0000 |
commit | 71d6cfda92e55915bfc20e012e2bc069ff6aad99 (patch) | |
tree | f3dc07f90812e0631a92f7407284a639a5d338f3 /src/vars.h | |
parent | 5181d90b017715bab95b991f258a4df2b42263fc (diff) | |
download | calcurse-71d6cfda92e55915bfc20e012e2bc069ff6aad99.zip |
More work on implementing the daemon.
Diffstat (limited to 'src/vars.h')
-rwxr-xr-x | src/vars.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $calcurse: vars.h,v 1.36 2009/07/26 12:47:17 culot Exp $ */ +/* $calcurse: vars.h,v 1.37 2009/08/01 13:31:21 culot Exp $ */ /* * Calcurse - text-based organizer @@ -135,6 +135,12 @@ struct nbar_s pthread_mutex_t mutex; }; +struct dmon_conf_s +{ + unsigned enable; /* launch daemon automatically when exiting */ + unsigned log; /* log daemon activity */ +}; + /* General configuration variables */ typedef struct { @@ -169,6 +175,7 @@ extern char path_dmon_log[BUFSIZ]; extern struct pad_s apad; extern struct nbar_s nbar; +extern struct dmon_conf_s dmon; void vars_init (conf_t *); |