summaryrefslogtreecommitdiff
path: root/src/plugins/exec/exec-buffer.h
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2014-03-12 11:54:00 +0100
committerSebastien Helleu <flashcode@flashtux.org>2014-03-12 11:54:00 +0100
commite8de09662500543d774430a3aa722cfd7bd16c5f (patch)
tree326aa0348ae5352306ef7998cd195b6a125667af /src/plugins/exec/exec-buffer.h
parent07908366953fbf6bedba565182c84d5c43116977 (diff)
downloadweechat-e8de09662500543d774430a3aa722cfd7bd16c5f.zip
exec: add options "-n"/"-ns" in command /exec (display output in a new buffer)
Diffstat (limited to 'src/plugins/exec/exec-buffer.h')
-rw-r--r--src/plugins/exec/exec-buffer.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/plugins/exec/exec-buffer.h b/src/plugins/exec/exec-buffer.h
new file mode 100644
index 000000000..42e519888
--- /dev/null
+++ b/src/plugins/exec/exec-buffer.h
@@ -0,0 +1,27 @@
+/*
+ * 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 switch_to_buffer);
+
+#endif /* __WEECHAT_EXEC_BUFFER_H */