mirror of
https://github.com/mpv-player/mpv
synced 2024-12-30 11:02:10 +00:00
eb22569ff0
All authors of the current code have agreed (as far as this commit requires). options.c/options.h will take more effort, because it contains all the option declarations, and thus is touched extremely often. m_option.c is technically still GPL, because of commit2c82d5a1d8
(michael has agreed to LGPL, but only once the core of mpv is LGPL). The geometry parsing code in m_option.c was originally by someone who could not be reached. However, it was heavily rewritten anyway, and only the syntax remains (i.e. not copyright-relevant). parse_commandline.c contains a change by "adland" (commit1d0ac71ae8
), who could not be reached - this this specific part is GPL only. Fortunately, it matters only for DVD (and even then is more like a hack, but whatever). There are some other relevant changes, but they have all been reverted, moved somewhere else, deleted, or replaced.
30 lines
1.0 KiB
C
30 lines
1.0 KiB
C
/*
|
|
* This file is part of mpv.
|
|
*
|
|
* mpv is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
*
|
|
* mpv is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with mpv. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef MPLAYER_PARSER_CFG_H
|
|
#define MPLAYER_PARSER_CFG_H
|
|
|
|
#include "m_config.h"
|
|
|
|
int m_config_parse_config_file(m_config_t* config, const char *conffile,
|
|
char *initial_section, int flags);
|
|
|
|
int m_config_parse(m_config_t *config, const char *location, bstr data,
|
|
char *initial_section, int flags);
|
|
|
|
#endif /* MPLAYER_PARSER_CFG_H */
|