]> git.sesse.net Git - vlc/blobdiff - include/vlc_update.h
Removes trailing spaces. Removes tabs.
[vlc] / include / vlc_update.h
index cc441b83728411c0823c45c5bf6c8ee230793ae1..c53005ce91fff475bd59f3c66f8f255a7682eba7 100644 (file)
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
  *****************************************************************************/
 
+#if !defined( __LIBVLC__ )
+  #error You are not libvlc or one of its plugins. You cannot include this file
+#endif
+
 #ifndef _VLC_UPDATE_H
 #define _VLC_UPDATE_H
 
@@ -111,7 +115,7 @@ struct update_mirror_t
  */
 struct update_t
 {
-    libvlc_int_t *p_libvlc; 
+    libvlc_int_t *p_libvlc;
 
     vlc_mutex_t lock;
 
@@ -172,7 +176,7 @@ VLC_EXPORT( update_iterator_t *, update_iterator_New, ( update_t * ) );
 VLC_EXPORT( void, update_iterator_Delete, ( update_iterator_t * ) );
 VLC_EXPORT( unsigned int, update_iterator_Action, ( update_iterator_t *, int ) );
 VLC_EXPORT( unsigned int, update_iterator_ChooseMirrorAndFile, ( update_iterator_t *, int, int, int ) );
-VLC_EXPORT( void, update_download, ( update_iterator_t *, char * ) );
+VLC_EXPORT( void, update_download, ( update_iterator_t *, const char * ) );
 
 /**
  * @}