A bit of headers cleanup
authorClément Stenac <zorglub@videolan.org>
Sun, 26 Nov 2006 14:20:34 +0000 (14:20 +0000)
committerClément Stenac <zorglub@videolan.org>
Sun, 26 Nov 2006 14:20:34 +0000 (14:20 +0000)
commitd3fe7f28797d4dba65ffcdd60bf932e758a48a9e
tree0e68b942841cfbce848b34b8c801f2318c827955
parent720fac7f5abf939fa7d1eb7c5ec816ec523ac10a
A bit of headers cleanup

* Headers in include must contain the structures and prototypes needed
  by the plugins and should be named vlc_*.
* Headers in include/vlc must contain the structures and prototypes
  needed by external libvlc clients

* Moved and renamed some things in headers.
   - Removed vlc_cpu.h, vlc_error.h (merged in vlc_common)
   - Removed snapshot.h (merged in vlc_vout.h)
   - Removed vlc_spu.h (merged in vlc_osd.h)
   - Removed intf_eject.h and vlc_interaction.h (merged in vlc_interface)
   - Moved all internal headers to src
   - Merged vlc_video.h and video_output.h and move private things to src
   - Removed vlc/intf.h, vlc/aout.h, vlc/vout.h, vlc/decoder.h and vlc/input.h
     (meta headers for use in modules, and often implying too large
     dependencies)
* Removed some useless dependencies
* Unexported a bunch of functions and structures used only in src/
  (--> Still some work here)
* Finally made input_thread_t and input_source_t (mostly) private.
  Added input_GetItem to fetch the input_item of an input_thread
* Cleaned up deprecated entries in vlc_symbols.h and bumped up symbol
  prefix

This commit has a 99% probability of breaking the build, 0.1% of killing
your cat and 0% of getting you hot chicks.
648 files changed:
bindings/python/vlc_object.c
configure.ac
include/aout_internal.h [deleted file]
include/audio_output.h [deleted file]
include/beos_specific.h [deleted file]
include/charset.h [deleted file]
include/codecs.h [deleted file]
include/configuration.h [deleted file]
include/darwin_specific.h [deleted file]
include/intf_eject.h [deleted file]
include/libvlc_internal.h [deleted file]
include/mediacontrol_internal.h [deleted file]
include/modules.h [deleted file]
include/modules_inner.h [deleted file]
include/mtime.h [deleted file]
include/network.h [deleted file]
include/os_specific.h [deleted file]
include/snapshot.h [deleted file]
include/stream_output.h [deleted file]
include/variables.h [deleted file]
include/video_output.h [deleted file]
include/vlc/aout.h [deleted file]
include/vlc/decoder.h [deleted file]
include/vlc/input.h [deleted file]
include/vlc/intf.h [deleted file]
include/vlc/sout.h [deleted file]
include/vlc/vout.h [deleted file]
include/vlc_access.h
include/vlc_aout.h [new file with mode: 0644]
include/vlc_arrays.h
include/vlc_block.h
include/vlc_block_helper.h
include/vlc_charset.h [new file with mode: 0644]
include/vlc_codec.h
include/vlc_codecs.h [new file with mode: 0644]
include/vlc_common.h
include/vlc_config_cat.h
include/vlc_configuration.h [new file with mode: 0644]
include/vlc_cpu.h [deleted file]
include/vlc_demux.h
include/vlc_error.h [deleted file]
include/vlc_filter.h
include/vlc_httpd.h
include/vlc_image.h
include/vlc_input.h
include/vlc_interaction.h [deleted file]
include/vlc_interface.h
include/vlc_meta.h
include/vlc_modules.h [new file with mode: 0644]
include/vlc_modules_macros.h [new file with mode: 0644]
include/vlc_mtime.h [new file with mode: 0644]
include/vlc_network.h [new file with mode: 0644]
include/vlc_os_specific.h [new file with mode: 0644]
include/vlc_osd.h
include/vlc_playlist.h
include/vlc_sout.h [new file with mode: 0644]
include/vlc_spu.h [deleted file]
include/vlc_stream.h
include/vlc_symbols.h
include/vlc_tls.h
include/vlc_url.h
include/vlc_variables.h [new file with mode: 0644]
include/vlc_video.h [deleted file]
include/vlc_vlm.h
include/vlc_vout.h [new file with mode: 0644]
include/vlc_vout_synchro.h [new file with mode: 0644]
include/vout_synchro.h [deleted file]
include/win32_specific.h [deleted file]
modules/access/cdda.c
modules/access/cdda/cdda.h
modules/access/directory.c
modules/access/dshow/crossbar.cpp
modules/access/dshow/dshow.cpp
modules/access/dshow/filter.cpp
modules/access/dv.c
modules/access/dvb/access.c
modules/access/dvb/en50221.c
modules/access/dvb/http.c
modules/access/dvb/linux_dvb.c
modules/access/dvdnav.c
modules/access/dvdread.c
modules/access/fake.c
modules/access/file.c
modules/access/ftp.c
modules/access/gnomevfs.c
modules/access/http.c
modules/access/mms/mms.c
modules/access/mms/mmsh.c
modules/access/mms/mmstu.c
modules/access/pvr.c
modules/access/rtsp/access.c
modules/access/screen/beos.cpp
modules/access/screen/mac.c
modules/access/screen/screen.c
modules/access/screen/screen.h
modules/access/screen/win32.c
modules/access/screen/x11.c
modules/access/smb.c
modules/access/tcp.c
modules/access/udp.c
modules/access/v4l.c
modules/access/v4l2.c
modules/access/vcd/cdrom.c
modules/access/vcd/vcd.c
modules/access/vcdx/access.c
modules/access/vcdx/demux.c
modules/access/vcdx/info.c
modules/access/vcdx/intf.c
modules/access/vcdx/vcdplayer.c
modules/access_filter/dump.c
modules/access_filter/record.c
modules/access_filter/timeshift.c
modules/access_output/bonjour.c
modules/access_output/dummy.c
modules/access_output/file.c
modules/access_output/http.c
modules/access_output/shout.c
modules/access_output/udp.c
modules/audio_filter/channel_mixer/dolby.c
modules/audio_filter/channel_mixer/headphone.c
modules/audio_filter/channel_mixer/mono.c
modules/audio_filter/channel_mixer/simple.c
modules/audio_filter/channel_mixer/trivial.c
modules/audio_filter/converter/a52tofloat32.c
modules/audio_filter/converter/a52tospdif.c
modules/audio_filter/converter/dtstofloat32.c
modules/audio_filter/converter/dtstospdif.c
modules/audio_filter/converter/fixed32tofloat32.c
modules/audio_filter/converter/fixed32tos16.c
modules/audio_filter/converter/float32tos16.c
modules/audio_filter/converter/float32tos8.c
modules/audio_filter/converter/float32tou16.c
modules/audio_filter/converter/float32tou8.c
modules/audio_filter/converter/mpgatofixed32.c
modules/audio_filter/converter/s16tofixed32.c
modules/audio_filter/converter/s16tofloat32.c
modules/audio_filter/converter/s16tofloat32swab.c
modules/audio_filter/converter/s8tofloat32.c
modules/audio_filter/converter/u8tofixed32.c
modules/audio_filter/converter/u8tofloat32.c
modules/audio_filter/equalizer.c
modules/audio_filter/format.c
modules/audio_filter/normvol.c
modules/audio_filter/param_eq.c
modules/audio_filter/resampler/bandlimited.c
modules/audio_filter/resampler/linear.c
modules/audio_filter/resampler/trivial.c
modules/audio_filter/resampler/ugly.c
modules/audio_mixer/float32.c
modules/audio_mixer/spdif.c
modules/audio_mixer/trivial.c
modules/audio_output/alsa.c
modules/audio_output/arts.c
modules/audio_output/auhal.c
modules/audio_output/directx.c
modules/audio_output/esd.c
modules/audio_output/file.c
modules/audio_output/hd1000a.cpp
modules/audio_output/jack.c
modules/audio_output/oss.c
modules/audio_output/portaudio.c
modules/audio_output/sdl.c
modules/audio_output/waveout.c
modules/codec/a52.c
modules/codec/adpcm.c
modules/codec/araw.c
modules/codec/cinepak.c
modules/codec/cmml/cmml.c
modules/codec/cmml/intf.c
modules/codec/cvdsub.c
modules/codec/dirac.c
modules/codec/dmo/buffer.c
modules/codec/dmo/dmo.c
modules/codec/dts.c
modules/codec/dvbsub.c
modules/codec/faad.c
modules/codec/fake.c
modules/codec/ffmpeg/audio.c
modules/codec/ffmpeg/chroma.c
modules/codec/ffmpeg/demux.c
modules/codec/ffmpeg/encoder.c
modules/codec/ffmpeg/ffmpeg.c
modules/codec/ffmpeg/ffmpeg.h
modules/codec/ffmpeg/mux.c
modules/codec/ffmpeg/postprocess.c
modules/codec/ffmpeg/scale.c
modules/codec/ffmpeg/video.c
modules/codec/ffmpeg/video_filter.c
modules/codec/flac.c
modules/codec/libmpeg2.c
modules/codec/lpcm.c
modules/codec/mash.cpp
modules/codec/mpeg_audio.c
modules/codec/png.c
modules/codec/quicktime.c
modules/codec/rawvideo.c
modules/codec/realaudio.c
modules/codec/sdl_image.c
modules/codec/speex.c
modules/codec/spudec/parse.c
modules/codec/spudec/spudec.c
modules/codec/subsdec.c
modules/codec/svcdsub.c
modules/codec/tarkin.c
modules/codec/theora.c
modules/codec/twolame.c
modules/codec/vorbis.c
modules/codec/x264.c
modules/codec/xvmc/alloc.c
modules/codec/xvmc/attributes.h
modules/codec/xvmc/cpu_accel.c
modules/codec/xvmc/cpu_state.c
modules/codec/xvmc/decode.c
modules/codec/xvmc/header.c
modules/codec/xvmc/motion_comp.c
modules/codec/xvmc/motion_comp_mmx.c
modules/codec/xvmc/mpeg2.h
modules/codec/xvmc/mpeg2_internal.h
modules/codec/xvmc/slice.c
modules/codec/xvmc/slice_xvmc_vld.c
modules/codec/xvmc/vlc.h
modules/codec/xvmc/xvmc_vld.h
modules/codec/xvmc/xxmc.c
modules/control/dbus.c
modules/control/gestures.c
modules/control/hotkeys.c
modules/control/http/http.c
modules/control/http/http.h
modules/control/http/mvar.c
modules/control/http/rpn.c
modules/control/lirc.c
modules/control/motion.c
modules/control/netsync.c
modules/control/ntservice.c
modules/control/rc.c
modules/control/showintf.c
modules/control/telnet.c
modules/demux/a52.c
modules/demux/aiff.c
modules/demux/asf/asf.c
modules/demux/asf/libasf.c
modules/demux/au.c
modules/demux/avi/avi.c
modules/demux/avi/libavi.c
modules/demux/demuxdump.c
modules/demux/dts.c
modules/demux/flac.c
modules/demux/gme.cpp
modules/demux/live555.cpp
modules/demux/mjpeg.c
modules/demux/mkv.cpp
modules/demux/mod.c
modules/demux/mp4/drms.c
modules/demux/mp4/libmp4.c
modules/demux/mp4/mp4.c
modules/demux/mpc.c
modules/demux/mpeg/h264.c
modules/demux/mpeg/m4a.c
modules/demux/mpeg/m4v.c
modules/demux/mpeg/mpga.c
modules/demux/mpeg/mpgv.c
modules/demux/nsc.c
modules/demux/nsv.c
modules/demux/nuv.c
modules/demux/ogg.c
modules/demux/playlist/asx.c
modules/demux/playlist/b4s.c
modules/demux/playlist/dvb.c
modules/demux/playlist/gvp.c
modules/demux/playlist/m3u.c
modules/demux/playlist/playlist.c
modules/demux/playlist/playlist.h
modules/demux/playlist/pls.c
modules/demux/playlist/podcast.c
modules/demux/playlist/qtl.c
modules/demux/playlist/sgimb.c
modules/demux/playlist/shoutcast.c
modules/demux/playlist/xspf.c
modules/demux/ps.c
modules/demux/ps.h
modules/demux/pva.c
modules/demux/rawdv.c
modules/demux/real.c
modules/demux/subtitle.c
modules/demux/ts.c
modules/demux/tta.c
modules/demux/ty.c
modules/demux/vobsub.c
modules/demux/voc.c
modules/demux/wav.c
modules/demux/xa.c
modules/gui/beos/AudioOutput.cpp
modules/gui/beos/Interface.cpp
modules/gui/beos/InterfaceWindow.cpp
modules/gui/beos/ListViews.cpp
modules/gui/beos/MediaControlView.cpp
modules/gui/beos/MessagesWindow.cpp
modules/gui/beos/PlayListWindow.cpp
modules/gui/beos/PreferencesWindow.cpp
modules/gui/beos/VideoOutput.cpp
modules/gui/macosx/interaction.h
modules/gui/macosx/intf.h
modules/gui/macosx/playlist.m
modules/gui/macosx/sfilters.h
modules/gui/ncurses.c
modules/gui/pda/pda.c
modules/gui/pda/pda_callbacks.c
modules/gui/pda/pda_callbacks.h
modules/gui/qnx/aout.c
modules/gui/qnx/vout.c
modules/gui/qt4/components/extended_panels.cpp
modules/gui/qt4/components/extended_panels.hpp
modules/gui/qt4/components/interface_widgets.cpp
modules/gui/qt4/components/interface_widgets.hpp
modules/gui/qt4/components/preferences.hpp
modules/gui/qt4/components/simple_preferences.hpp
modules/gui/qt4/dialogs/interaction.hpp
modules/gui/qt4/dialogs/mediainfo.cpp
modules/gui/qt4/dialogs_provider.hpp
modules/gui/qt4/input_manager.cpp
modules/gui/qt4/input_manager.hpp
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.hpp
modules/gui/qt4/playlist_model.hpp
modules/gui/qt4/qt4.hpp
modules/gui/qt4/util/qvlcframe.hpp
modules/gui/skins2/commands/cmd_add_item.cpp
modules/gui/skins2/commands/cmd_audio.cpp
modules/gui/skins2/commands/cmd_dialogs.hpp
modules/gui/skins2/commands/cmd_dvd.cpp
modules/gui/skins2/commands/cmd_fullscreen.cpp
modules/gui/skins2/commands/cmd_input.cpp
modules/gui/skins2/commands/cmd_playlist.cpp
modules/gui/skins2/commands/cmd_playtree.cpp
modules/gui/skins2/commands/cmd_snapshot.cpp
modules/gui/skins2/src/dialogs.cpp
modules/gui/skins2/src/skin_common.hpp
modules/gui/skins2/src/skin_main.cpp
modules/gui/skins2/src/vlcproc.cpp
modules/gui/skins2/vars/equalizer.cpp
modules/gui/skins2/vars/playtree.cpp
modules/gui/skins2/vars/time.cpp
modules/gui/skins2/vars/volume.cpp
modules/gui/wince/dialogs.cpp
modules/gui/wince/fileinfo.cpp
modules/gui/wince/interface.cpp
modules/gui/wince/iteminfo.cpp
modules/gui/wince/menus.cpp
modules/gui/wince/messages.cpp
modules/gui/wince/open.cpp
modules/gui/wince/playlist.cpp
modules/gui/wince/preferences.cpp
modules/gui/wince/preferences_widgets.cpp
modules/gui/wince/subtitles.cpp
modules/gui/wince/timer.cpp
modules/gui/wince/video.cpp
modules/gui/wince/wince.cpp
modules/gui/wxwidgets/dialogs.cpp
modules/gui/wxwidgets/dialogs/bookmarks.cpp
modules/gui/wxwidgets/dialogs/fileinfo.cpp
modules/gui/wxwidgets/dialogs/interaction.cpp
modules/gui/wxwidgets/dialogs/interaction.hpp
modules/gui/wxwidgets/dialogs/open.cpp
modules/gui/wxwidgets/dialogs/playlist.cpp
modules/gui/wxwidgets/dialogs/vlm/vlm_panel.cpp
modules/gui/wxwidgets/dialogs/vlm/vlm_stream.hpp
modules/gui/wxwidgets/dialogs/vlm/vlm_wrapper.hpp
modules/gui/wxwidgets/dialogs/wizard.cpp
modules/gui/wxwidgets/extrapanel.cpp
modules/gui/wxwidgets/input_manager.cpp
modules/gui/wxwidgets/interface.cpp
modules/gui/wxwidgets/menus.cpp
modules/gui/wxwidgets/video.cpp
modules/gui/wxwidgets/wxwidgets.cpp
modules/gui/wxwidgets/wxwidgets.hpp
modules/meta_engine/folder.c
modules/meta_engine/id3tag.c
modules/meta_engine/musicbrainz.c
modules/meta_engine/taglib.cpp
modules/misc/audioscrobbler.c
modules/misc/dummy/aout.c
modules/misc/dummy/decoder.c
modules/misc/dummy/encoder.c
modules/misc/dummy/input.c
modules/misc/dummy/interface.c
modules/misc/dummy/renderer.c
modules/misc/dummy/vout.c
modules/misc/freetype.c
modules/misc/gnutls.c
modules/misc/logger.c
modules/misc/notify/growl.c
modules/misc/notify/msn.c
modules/misc/notify/notify.c
modules/misc/notify/xosd.c
modules/misc/playlist/m3u.c
modules/misc/playlist/old.c
modules/misc/playlist/xspf.c
modules/misc/probe/hal.c
modules/misc/profile_parser.c
modules/misc/rtsp.c
modules/misc/screensaver.c
modules/misc/svg.c
modules/misc/win32text.c
modules/mux/asf.c
modules/mux/avi.c
modules/mux/dummy.c
modules/mux/mp4.c
modules/mux/mpeg/pes.c
modules/mux/mpeg/ps.c
modules/mux/mpeg/ts.c
modules/mux/mpjpeg.c
modules/mux/ogg.c
modules/mux/wav.c
modules/packetizer/copy.c
modules/packetizer/h264.c
modules/packetizer/mpeg4audio.c
modules/packetizer/mpeg4video.c
modules/packetizer/mpegvideo.c
modules/services_discovery/bonjour.c
modules/services_discovery/hal.c
modules/services_discovery/podcast.c
modules/services_discovery/sap.c
modules/services_discovery/shout.c
modules/services_discovery/upnp_cc.cpp
modules/services_discovery/upnp_intel.cpp
modules/stream_out/autodel.c
modules/stream_out/bridge.c
modules/stream_out/description.c
modules/stream_out/display.c
modules/stream_out/dummy.c
modules/stream_out/duplicate.c
modules/stream_out/es.c
modules/stream_out/gather.c
modules/stream_out/mosaic_bridge.c
modules/stream_out/rtp.c
modules/stream_out/standard.c
modules/stream_out/switcher.c
modules/stream_out/transcode.c
modules/stream_out/transrate/block.c
modules/stream_out/transrate/frame.c
modules/stream_out/transrate/transrate.c
modules/video_chroma/i420_rgb.c
modules/video_chroma/i420_rgb16.c
modules/video_chroma/i420_rgb8.c
modules/video_chroma/i420_ymga.c
modules/video_chroma/i420_yuy2.c
modules/video_chroma/i422_yuy2.c
modules/video_filter/adjust.c
modules/video_filter/blend.c
modules/video_filter/clone.c
modules/video_filter/colorthres.c
modules/video_filter/crop.c
modules/video_filter/deinterlace.c
modules/video_filter/gradient.c
modules/video_filter/invert.c
modules/video_filter/logo.c
modules/video_filter/magnify.c
modules/video_filter/marq.c
modules/video_filter/mosaic.c
modules/video_filter/motionblur.c
modules/video_filter/motiondetect.c
modules/video_filter/noise.c
modules/video_filter/opencv_example.cpp
modules/video_filter/opencv_wrapper.c
modules/video_filter/osdmenu.c
modules/video_filter/panoramix.c
modules/video_filter/psychedelic.c
modules/video_filter/puzzle.c
modules/video_filter/ripple.c
modules/video_filter/rotate.c
modules/video_filter/rss.c
modules/video_filter/rv32.c
modules/video_filter/scale.c
modules/video_filter/transform.c
modules/video_filter/wall.c
modules/video_filter/wave.c
modules/video_output/aa.c
modules/video_output/caca.c
modules/video_output/directfb.c
modules/video_output/directx/direct3d.c
modules/video_output/directx/directx.c
modules/video_output/directx/events.c
modules/video_output/directx/glwin32.c
modules/video_output/fb.c
modules/video_output/ggi.c
modules/video_output/glide.c
modules/video_output/hd1000v.cpp
modules/video_output/image.c
modules/video_output/mga.c
modules/video_output/opengl.c
modules/video_output/qte/qte.cpp
modules/video_output/sdl.c
modules/video_output/snapshot.c
modules/video_output/svgalib.c
modules/video_output/wingdi.c
modules/video_output/x11/glx.c
modules/video_output/x11/xcommon.c
modules/video_output/x11/xvmc.c
modules/visualization/galaktos/plugin.c
modules/visualization/galaktos/plugin.h
modules/visualization/goom.c
modules/visualization/visual/effects.c
modules/visualization/visual/visual.c
po/POTFILES.in
po/af.po
po/ar.po
po/bn.po
po/ca.po
po/co.po
po/cs.po
po/da.po
po/de.po
po/el.po
po/en_GB.po
po/es.po
po/eu.po
po/fr.po
po/fur.po
po/gl.po
po/he.po
po/hi.po
po/hu.po
po/it.po
po/ja.po
po/ka.po
po/ko.po
po/lt.po
po/lv.po
po/ms.po
po/my.po
po/nb.po
po/ne.po
po/nl.po
po/nn.po
po/no.po
po/oc.po
po/pa.po
po/pl.po
po/ps.po
po/pt_BR.po
po/pt_PT.po
po/ro.po
po/ru.po
po/sk.po
po/sl.po
po/sq.po
po/sv.po
po/tet.po
po/th.po
po/tl.po
po/tr.po
po/vlc.pot
po/zh_CN.po
po/zh_TW.po
src/Makefile.am
src/audio_output/aout_internal.h [new file with mode: 0644]
src/audio_output/common.c
src/audio_output/dec.c
src/audio_output/filters.c
src/audio_output/input.c
src/audio_output/intf.c
src/audio_output/mixer.c
src/audio_output/output.c
src/control/audio.c
src/control/core.c
src/control/input.c
src/control/libvlc_internal.h [new file with mode: 0644]
src/control/log.c
src/control/mediacontrol_audio_video.c
src/control/mediacontrol_core.c
src/control/mediacontrol_internal.h [new file with mode: 0644]
src/control/mediacontrol_util.c
src/control/playlist.c
src/control/video.c
src/control/vlm.c
src/input/access.c
src/input/clock.c
src/input/control.c
src/input/decoder.c
src/input/demux.c
src/input/es_out.c
src/input/input.c
src/input/input_internal.h
src/input/item.c
src/input/mem_stream.c
src/input/meta.c
src/input/stream.c
src/input/subtitles.c
src/input/var.c
src/interface/interaction.c
src/interface/interface.c
src/interface/interface.h [new file with mode: 0644]
src/interface/intf_eject.c
src/libvlc-common.c
src/libvlc.c
src/libvlc.h
src/misc/configuration.c
src/misc/configuration.h [new file with mode: 0644]
src/misc/cpu.c
src/misc/dict.c
src/misc/image.c
src/misc/messages.c
src/misc/modules.c
src/misc/modules.h [new file with mode: 0644]
src/misc/mtime.c
src/misc/objects.c
src/misc/stats.c
src/misc/update.c
src/misc/variables.c
src/misc/variables.h [new file with mode: 0644]
src/misc/vlm.c
src/misc/win32_specific.c
src/network/acl.c
src/network/error.c
src/network/getaddrinfo.c
src/network/httpd.c
src/network/io.c
src/network/tcp.c
src/network/tls.c
src/network/udp.c
src/osd/osd_parser.c
src/osd/osd_text.c
src/osd/osd_widgets.c
src/playlist/control.c
src/playlist/engine.c
src/playlist/item.c
src/playlist/loadsave.c
src/playlist/playlist_internal.h
src/playlist/search.c
src/playlist/services_discovery.c
src/playlist/sort.c
src/playlist/thread.c
src/playlist/tree.c
src/stream_output/announce.c
src/stream_output/sap.c
src/stream_output/stream_output.c
src/stream_output/stream_output.h [new file with mode: 0644]
src/test/i18n_atof.c
src/text/charset.c
src/text/strings.c
src/text/unicode.c
src/video_output/video_output.c
src/video_output/video_text.c
src/video_output/video_widgets.c
src/video_output/vout_intf.c
src/video_output/vout_pictures.c
src/video_output/vout_subpictures.c
src/video_output/vout_synchro.c