view command.h @ 29290:ef46d5a66bb2

Use a malloced string for the get_term_charset return value. This is necessary at least on POSIX systems since the buffer returned by nl_langinfo may change its contents with e.g. each setlocale call.
author reimar
date Sun, 31 May 2009 13:00:51 +0000
parents 8c92e7e4ccd9
children c1a3f1bbba26
line wrap: on
line source

#ifndef MPLAYER_COMMAND_H
#define MPLAYER_COMMAND_H

struct MPContext;
struct mp_cmd;

int run_command(struct MPContext *mpctx, struct mp_cmd *cmd);
char *property_expand_string(struct MPContext *mpctx, char *str);
void property_print_help(void);

#endif /* MPLAYER_COMMAND_H */