diff options
Diffstat (limited to 'player/command.h')
-rw-r--r-- | player/command.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/player/command.h b/player/command.h index ae3af82886..4cc774c6e8 100644 --- a/player/command.h +++ b/player/command.h @@ -70,6 +70,8 @@ void run_command(struct MPContext *mpctx, struct mp_cmd *cmd, void (*on_completion)(struct mp_cmd_ctx *cmd), void *on_completion_priv); void mp_cmd_ctx_complete(struct mp_cmd_ctx *cmd); +PRINTF_ATTRIBUTE(3, 4) +void mp_cmd_msg(struct mp_cmd_ctx *cmd, int status, const char *msg, ...); char *mp_property_expand_string(struct MPContext *mpctx, const char *str); char *mp_property_expand_escaped_string(struct MPContext *mpctx, const char *str); void property_print_help(struct MPContext *mpctx); |