1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 04:16:38 +02:00
Files
weechat/src/plugins/exec/exec-buffer.h
T
Sebastien Helleu 8deb0d3612 exec: add options -nf and -cl/-nocl in command /exec
-nf: create a new buffer with free content
-cl: clear new buffer
-nocl: append in new buffer
2014-03-25 09:25:47 +01:00

30 lines
1.1 KiB
C

/*
* Copyright (C) 2014 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_EXEC_BUFFER_H
#define WEECHAT_EXEC_BUFFER_H 1
extern void exec_buffer_set_callbacks ();
extern struct t_gui_buffer *exec_buffer_new (const char *name,
int free_content,
int clear_buffer,
int switch_to_buffer);
#endif /* WEECHAT_EXEC_BUFFER_H */