Mercurial > mplayer.hg
annotate parser-mecmd.h @ 25555:273c1eaae7c8
Happy New Year!
author | zuxy |
---|---|
date | Wed, 02 Jan 2008 07:38:40 +0000 |
parents | 6ac1ece1f9fe |
children | 4129c8cfa742 |
rev | line source |
---|---|
25553
6ac1ece1f9fe
Add multiple inclusion guards to all header files that lack them.
diego
parents:
18265
diff
changeset
|
1 #ifndef PARSER_MECMD_H |
6ac1ece1f9fe
Add multiple inclusion guards to all header files that lack them.
diego
parents:
18265
diff
changeset
|
2 #define PARSER_MECMD_H |
8164 | 3 |
18265 | 4 /// \file |
5 /// \ingroup ConfigParsers MEntry | |
6 /// \brief A simple parser with per-entry settings. | |
8164 | 7 |
18265 | 8 /// \defgroup MEntry MEncoder's playlist |
9 ///@{ | |
10 | |
11 /// Playlist entry | |
8164 | 12 typedef struct m_entry_st { |
18265 | 13 /// Filename, url or whatever. |
14 char* name; | |
15 /// NULL terminated list of name,val pairs. | |
16 char** opts; | |
8164 | 17 } m_entry_t; |
18 | |
18265 | 19 /// Free a list returned by \ref m_config_parse_me_command_line. |
8164 | 20 void |
21 m_entry_list_free(m_entry_t* lst); | |
18265 | 22 |
23 /// Helper to set all config options from an entry. | |
8164 | 24 int |
25 m_entry_set_options(m_config_t *config, m_entry_t* entry); | |
26 | |
18265 | 27 /// Setup the \ref Config from command line arguments and build a playlist. |
28 /** \ingroup ConfigParsers | |
29 */ | |
8164 | 30 m_entry_t* |
31 m_config_parse_me_command_line(m_config_t *config, int argc, char **argv); | |
32 | |
18265 | 33 ///@} |
25553
6ac1ece1f9fe
Add multiple inclusion guards to all header files that lack them.
diego
parents:
18265
diff
changeset
|
34 |
6ac1ece1f9fe
Add multiple inclusion guards to all header files that lack them.
diego
parents:
18265
diff
changeset
|
35 #endif /* PARSER_MECMD_H */ |