aboutsummaryrefslogtreecommitdiffstats
path: root/src/input_plugin.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix common misspellingsJonathan Neuschäfer2011-03-311-1/+1
| | | | | | | These fixes were mostly generated with `codespell' [0] and manually reviewed. [0] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
* copyright year 2011Max Kellermann2011-01-291-1/+1
|
* input_stream: return allocated input_stream objectsMax Kellermann2010-01-011-2/+1
| | | | | | | | Major API redesign: don't let the caller allocate the input_stream object. Let each input plugin allocate its own (derived/extended) input_stream pointer. The "data" attribute can now be removed, and all input plugins simply cast the input_stream pointer to their own structure (with an "struct input_stream base" as the first attribute).
* Update copyright notices.Avuton Olrich2009-12-311-1/+1
|
* input_stream: return errors with GErrorMax Kellermann2009-12-151-4/+7
|
* input_plugin: method init() returns errors with GErrorMax Kellermann2009-12-141-1/+3
| | | | | Not used by any plugin currently, but this eliminates the g_error() call in input_plugin_config(), so it's worth it.
* input_stream: use "goffset" instead of "off_t"Max Kellermann2009-10-111-1/+1
| | | | | | | | | | | | The "off_t" type may change when you enable or disable large file support on 32 bit platforms. This caused severe ABI problems within MPD when we enabled LFS for the first time: two sources included config.h and sys/types.h in different order, and had different off_t sizes - leading to memory corruption because of ABI incompatibility. This patch attempts to get rid of all public "off_t" uses: it removes "off_t" from the input_stream ABI/API, and switches to GLib's 64 bit "goffset" type. This may hurt 32 bit embedded platforms a tiny bit, but that's not even measurable.
* all: Update copyright header.Avuton Olrich2009-03-131-3/+4
| | | | | | | | This updates the copyright header to all be the same, which is pretty much an update of where to mail request for a copy of the GPL and the years of the MPD project. This also puts all committers under 'The Music Player Project' umbrella. These entries should go individually in the AUTHORS file, for consistancy.
* input: pass config_param to input_plugin.init()Max Kellermann2009-03-021-1/+4
| | | | | Allow input plugins to configure with an "input" block in mpd.conf. Also allow the user to disable a plugin completely.
* input_plugin: added methods init(), finish()Max Kellermann2009-03-021-0/+14
| | | | | | Instead of hard-coding the plugin global initialization in input_stream_global_init(), make it walk the plugin list and initialize all plugins.
* input_stream: moved struct input_plugin to input_plugin.hMax Kellermann2009-03-021-0/+41
| | | | Start to separate private from public input_stream API.
* start to implement inputPlugin interfaceWarren Dukes2004-05-301-61/+0
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@1242 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* include proper headers for input_pluginWarren Dukes2004-05-301-0/+5
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@1241 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* input plugin header stuffWarren Dukes2004-05-301-0/+8
| | | git-svn-id: https://svn.musicpd.org/mpd/trunk@1234 09075e82-0dd4-0310-85a5-a0d7c8717e4f
* input plugin shemeWarren Dukes2004-05-301-0/+48
git-svn-id: https://svn.musicpd.org/mpd/trunk@1233 09075e82-0dd4-0310-85a5-a0d7c8717e4f