summaryrefslogtreecommitdiffstats
path: root/input/cmd_parse.h
diff options
context:
space:
mode:
Diffstat (limited to 'input/cmd_parse.h')
-rw-r--r--input/cmd_parse.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/input/cmd_parse.h b/input/cmd_parse.h
index c8f165b11d..3c08f0b4ba 100644
--- a/input/cmd_parse.h
+++ b/input/cmd_parse.h
@@ -20,6 +20,7 @@
struct mp_log;
struct mp_cmd;
+struct mpv_node;
// Parse text and return corresponding struct mp_cmd.
// The location parameter is for error messages.
@@ -36,6 +37,7 @@ struct mp_cmd *mp_input_parse_cmd_strv(struct mp_log *log, int def_flags,
struct mp_cmd *mp_input_parse_cmd_bstrv(struct mp_log *log, int def_flags,
int argc, bstr *argv,
const char *location);
+struct mp_cmd *mp_input_parse_cmd_node(struct mp_log *log, struct mpv_node *node);
// After getting a command from mp_input_get_cmd you need to free it using this
// function