summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2019-12-12 12:49:36 +0000
committernicm <nicm>2019-12-12 12:49:36 +0000
commit5134666702ce972390f39e34bed9b60fe566263a (patch)
tree0e4e8ca37b0dad58d158881356eac998e3932e37 /tmux.h
parent268f2b047a6e9b932a0ff51aa526e1df61d54165 (diff)
Change source-file to use new file code which allows it to read from
stdin.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index d8308e1a..60e55475 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1803,6 +1803,8 @@ extern struct client *cfg_client;
void start_cfg(void);
int load_cfg(const char *, struct client *, struct cmdq_item *, int,
struct cmdq_item **);
+int load_cfg_from_buffer(const void *, size_t, const char *,
+ struct client *, struct cmdq_item *, int, struct cmdq_item **);
void set_cfg_file(const char *);
void printflike(1, 2) cfg_add_cause(const char *, ...);
void cfg_print_causes(struct cmdq_item *);
@@ -2120,6 +2122,8 @@ void cmd_parse_empty(struct cmd_parse_input *);
struct cmd_parse_result *cmd_parse_from_file(FILE *, struct cmd_parse_input *);
struct cmd_parse_result *cmd_parse_from_string(const char *,
struct cmd_parse_input *);
+struct cmd_parse_result *cmd_parse_from_buffer(const void *, size_t,
+ struct cmd_parse_input *);
struct cmd_parse_result *cmd_parse_from_arguments(int, char **,
struct cmd_parse_input *);