diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2016-11-22 19:24:40 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2016-11-22 19:24:40 +0100 |
commit | 0cec295a41e47e4fcaa3dea39933f7d082f93c7b (patch) | |
tree | 475b4dd2988b2637e80f081b7ba406aba3a7e34e /src/plugins/fifo/fifo-config.h | |
parent | fe95a1c8a86e1e1741a2769d7570f88a818e9b3e (diff) | |
download | weechat-0cec295a41e47e4fcaa3dea39933f7d082f93c7b.zip |
fifo: add file fifo.conf and option fifo.file.path to customize FIFO pipe path/filename (closes #850)
Diffstat (limited to 'src/plugins/fifo/fifo-config.h')
-rw-r--r-- | src/plugins/fifo/fifo-config.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/plugins/fifo/fifo-config.h b/src/plugins/fifo/fifo-config.h new file mode 100644 index 000000000..fd531e4e9 --- /dev/null +++ b/src/plugins/fifo/fifo-config.h @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2003-2016 Sébastien Helleu <flashcode@flashtux.org> + * + * This file is part of WeeChat, the extensible chat client. + * + * WeeChat is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * WeeChat is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with WeeChat. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef WEECHAT_FIFO_CONFIG_H +#define WEECHAT_FIFO_CONFIG_H 1 + +#define FIFO_CONFIG_NAME "fifo" + + +extern struct t_config_option *fifo_config_file_enabled; +extern struct t_config_option *fifo_config_file_path; + +extern int fifo_config_init (); +extern int fifo_config_read (); +extern int fifo_config_write (); +extern void fifo_config_free (); + +#endif /* WEECHAT_FIFO_CONFIG_H */ |