]> git.sesse.net Git - vlc/blobdiff - include/vlc_mtime.h
Added missing const qualifier to vod_MediaControl.
[vlc] / include / vlc_mtime.h
index 458cf35d35ada05935dd81441f937af8fd91adbc..add6941638eeec9dc0965dc22088f63198d2b353 100644 (file)
@@ -1,5 +1,6 @@
 /*****************************************************************************
- * mtime.h: high resolution time management functions
+ * vlc_mtime.h: high resolution time management functions
+ *****************************************************************************
  * This header provides portable high precision time management functions,
  * which should be the only ones used in other segments of the program, since
  * functions like gettimeofday() and ftime() are not always supported.
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#if !defined( __LIBVLC__ )
+  #error You are not libvlc or one of its plugins. You cannot include this file
+#endif
+
 /*****************************************************************************
  * LAST_MDATE: date which will never happen
  *****************************************************************************
@@ -81,3 +86,4 @@ VLC_EXPORT( void,    date_Set,       ( date_t *, mtime_t ) );
 VLC_EXPORT( mtime_t, date_Get,       ( const date_t * ) );
 VLC_EXPORT( void,    date_Move,      ( date_t *, mtime_t ) );
 VLC_EXPORT( mtime_t, date_Increment, ( date_t *, uint32_t ) );
+VLC_EXPORT( uint64_t, NTPtime64,     ( void ) );