Commit d666030b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

libvlc: use vlc_common.h (libvlccore) instead of vlc/vlc.h

parent 2ec3bdde
......@@ -28,7 +28,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <vlc_aout.h>
#include "aout_internal.h"
......
......@@ -28,7 +28,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
......
......@@ -28,7 +28,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <vlc_interface.h>
#ifdef HAVE_ALLOCA_H
......
......@@ -29,7 +29,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <stdio.h>
#include <string.h>
......
......@@ -29,7 +29,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <stdio.h>
#include <stdlib.h> /* calloc(), malloc(), free() */
......
......@@ -29,7 +29,7 @@
#endif
#include <stddef.h>
#include <vlc/vlc.h>
#include <vlc_common.h>
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
......
......@@ -28,7 +28,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <vlc_aout.h>
#include "aout_internal.h"
......
......@@ -31,7 +31,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include "libvlc.h"
#include "vlc_interface.h"
......
......@@ -25,7 +25,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include "../libvlc.h"
#include "vlc_keys.h"
......
......@@ -25,7 +25,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include "../libvlc.h"
#include "vlc_keys.h"
#include "vlc_charset.h"
......
......@@ -25,7 +25,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#if defined( WIN32 )
# define _WIN32_IE IE5
......
......@@ -25,7 +25,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include "../libvlc.h"
#include "vlc_charset.h"
#include "vlc_keys.h"
......
......@@ -25,7 +25,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <assert.h>
......
......@@ -29,7 +29,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <ctype.h>
......
......@@ -25,7 +25,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include "input_internal.h"
......
......@@ -28,7 +28,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include "input_internal.h"
......
......@@ -25,7 +25,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <stdio.h>
#include <stdlib.h>
......
......@@ -31,7 +31,7 @@
#endif
#include <assert.h>
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <vlc_block.h>
#include <vlc_vout.h>
......
......@@ -98,7 +98,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <vlc_input.h>
#include <vlc_codec.h>
#include <vlc_codec_synchro.h>
......
......@@ -25,7 +25,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include "input_internal.h"
......
......@@ -29,7 +29,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <stdio.h>
......
......@@ -29,7 +29,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <ctype.h>
#include <limits.h>
......
......@@ -26,7 +26,7 @@
#endif
#include <assert.h>
#include <vlc/vlc.h>
#include <vlc_common.h>
#include "vlc_playlist.h"
#include "vlc_interface.h"
......
......@@ -25,7 +25,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include "input_internal.h"
......
......@@ -26,7 +26,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <vlc_input.h>
#include <vlc_stream.h>
#include <vlc_meta.h>
......
......@@ -25,7 +25,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include "input_internal.h"
......
......@@ -31,7 +31,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <vlc_input.h>
#include <vlc_charset.h>
......
......@@ -28,7 +28,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <stdio.h>
#include <stdlib.h>
......
......@@ -30,7 +30,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <stdio.h>
#include <ctype.h> /* tolower() */
......
......@@ -30,7 +30,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <stdio.h>
#include <ctype.h> /* tolower() */
......
......@@ -35,7 +35,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <vlc_interface.h>
#include "interface.h"
......
......@@ -37,7 +37,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <vlc_aout.h>
#include <vlc_vout.h>
......
......@@ -33,7 +33,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
......
......@@ -36,7 +36,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include "control/libvlc_internal.h"
#include <vlc_input.h>
......
......@@ -34,7 +34,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <vlc_plugin.h>
#include "libvlc.h"
......
......@@ -39,7 +39,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include "control/libvlc_internal.h"
#include "libvlc.h"
......
......@@ -22,7 +22,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include "../libvlc.h"
int vlc_key_to_action (vlc_object_t *libvlc, const char *varname,
......
......@@ -37,7 +37,7 @@ extern "C"
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include "../libvlc.h"
}
......
......@@ -28,7 +28,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <sys/stat.h>
#include "vlc_block.h"
......
......@@ -30,7 +30,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#ifdef HAVE_SIGNAL_H
# include <signal.h> /* SIGHUP, SIGINT, SIGKILL */
......
......@@ -27,7 +27,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include "../libvlc.h"
#include <dirent.h> /* *dir() */
......
......@@ -30,7 +30,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <vlc/intf.h>
#include <vlc_devices.h>
......
......@@ -28,13 +28,13 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
/*****************************************************************************
* vlc_error: strerror() equivalent
*****************************************************************************
* This function returns a string describing the error code passed in the
* argument. A list of all errors can be found in include/vlc/vlc.h.
* argument. A list of all errors can be found in include/vlc_common.h.
*****************************************************************************/
char const * vlc_error ( int i_err )
{
......
......@@ -31,7 +31,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <assert.h>
......
......@@ -35,7 +35,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <vlc_codec.h>
#include <vlc_filter.h>
#include <vlc_es.h>
......
......@@ -22,7 +22,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include "../libvlc.h"
#if 0
......
......@@ -27,7 +27,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <vlc_md5.h>
#ifdef WORDS_BIGENDIAN
......
......@@ -32,7 +32,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <stdarg.h> /* va_list for BSD */
......
......@@ -33,7 +33,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <time.h> /* clock_gettime(), clock_nanosleep() */
#include <assert.h>
......
......@@ -22,7 +22,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include "../libvlc.h"
void system_Init (libvlc_int_t *libvlc, int *argc, const char *argv[])
......
......@@ -34,7 +34,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include "../libvlc.h"
#include <vlc_vout.h>
......
......@@ -23,7 +23,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <vlc_rand.h>
#ifndef WIN32
......
......@@ -29,7 +29,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <stdio.h> /* required */
#include "input/input_internal.h"
......
......@@ -28,7 +28,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include "libvlc.h"
#include <assert.h>
......
......@@ -36,7 +36,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <vlc_update.h>
#ifdef UPDATE_CHECK
......
......@@ -28,7 +28,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include "variables.h"
#include "libvlc.h"
......
......@@ -27,7 +27,7 @@
#endif
#define UNICODE
#include <vlc/vlc.h>
#include <vlc_common.h>
#include "../libvlc.h"
#include <vlc_playlist.h>
#include <vlc_charset.h>
......
......@@ -25,7 +25,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include "vlc_xml.h"
#include "../libvlc.h"
......
......@@ -28,7 +28,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include "libvlc.h"
#include <stdlib.h> /* free(), strtol() */
......
......@@ -23,7 +23,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <assert.h>
#include <stdarg.h>
......
......@@ -28,7 +28,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <vlc_plugin.h>
#include "libvlc.h"
......
......@@ -28,7 +28,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <vlc_plugin.h> /* MODULE_SUFFIX */
#include "libvlc.h"
#include "modules.h"
......
......@@ -28,7 +28,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <ctype.h>
#include <vlc_acl.h>
......
......@@ -26,7 +26,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <stddef.h> /* size_t */
#include <string.h> /* strlen(), memcpy(), memset(), strchr() */
......
......@@ -27,7 +27,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <vlc_httpd.h>
#ifdef ENABLE_HTTPD
......
......@@ -32,7 +32,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <stdlib.h>
#include <stdio.h>
......
......@@ -25,7 +25,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#ifndef HAVE_POLL
#include <string.h>
......
......@@ -30,7 +30,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <errno.h>
#include <assert.h>
......
......@@ -30,7 +30,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include "libvlc.h"
#include <vlc_tls.h>
......
......@@ -31,7 +31,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <errno.h>
......
......@@ -22,7 +22,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <errno.h>
#include <vlc_network.h>
......
......@@ -29,7 +29,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <vlc_keys.h>
#include <vlc_osd.h>
#include <vlc_image.h>
......
......@@ -24,7 +24,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <vlc_vout.h>
#include <vlc_block.h>
#include <vlc_filter.h>
......
......@@ -28,7 +28,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <vlc_osd.h>
#include <vlc_vout.h>
#include <vlc_filter.h>
......
......@@ -25,7 +25,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include "vlc_playlist.h"
#include "playlist_internal.h"
#include <assert.h>
......
......@@ -26,7 +26,7 @@
# include "config.h"
#endif
#include <vlc/vlc.h>
#include <vlc_common.h>
#include <vlc_vout.h>
#include <vlc_sout.h>