Mercurial > mplayer.hg
annotate parser-mecmd.h @ 27370:14c5017f40d2
Change a bunch of video/audio-output-specific preprocessor directives from
a HAVE_ prefix to a CONFIG_ prefix.
author | diego |
---|---|
date | Sun, 03 Aug 2008 15:21:40 +0000 |
parents | 83c95bd31aab |
children | c1a3f1bbba26 |
rev | line source |
---|---|
26029 | 1 #ifndef MPLAYER_PARSER_MECMD_H |
2 #define MPLAYER_PARSER_MECMD_H | |
8164 | 3 |
26131
83c95bd31aab
Add necessary #includes to pass 'make checkheaders'.
diego
parents:
26029
diff
changeset
|
4 #include "m_config.h" |
83c95bd31aab
Add necessary #includes to pass 'make checkheaders'.
diego
parents:
26029
diff
changeset
|
5 |
18265 | 6 /// \file |
7 /// \ingroup ConfigParsers MEntry | |
8 /// \brief A simple parser with per-entry settings. | |
8164 | 9 |
18265 | 10 /// \defgroup MEntry MEncoder's playlist |
11 ///@{ | |
12 | |
13 /// Playlist entry | |
8164 | 14 typedef struct m_entry_st { |
18265 | 15 /// Filename, url or whatever. |
16 char* name; | |
17 /// NULL terminated list of name,val pairs. | |
18 char** opts; | |
8164 | 19 } m_entry_t; |
20 | |
18265 | 21 /// Free a list returned by \ref m_config_parse_me_command_line. |
8164 | 22 void |
23 m_entry_list_free(m_entry_t* lst); | |
18265 | 24 |
25 /// Helper to set all config options from an entry. | |
8164 | 26 int |
27 m_entry_set_options(m_config_t *config, m_entry_t* entry); | |
28 | |
18265 | 29 /// Setup the \ref Config from command line arguments and build a playlist. |
30 /** \ingroup ConfigParsers | |
31 */ | |
8164 | 32 m_entry_t* |
33 m_config_parse_me_command_line(m_config_t *config, int argc, char **argv); | |
34 | |
18265 | 35 ///@} |
25553
6ac1ece1f9fe
Add multiple inclusion guards to all header files that lack them.
diego
parents:
18265
diff
changeset
|
36 |
26029 | 37 #endif /* MPLAYER_PARSER_MECMD_H */ |