]> git.sesse.net Git - vlc/blobdiff - include/vlc_rand.h
Use var_InheritString for --decklink-video-connection.
[vlc] / include / vlc_rand.h
index 2afff1905deb633965233979973f3fad6db94ad5..0023d7cdaf6869e0de68a1e6412906d08a21f8f4 100644 (file)
 #ifndef VLC_RAND_H
 # define VLC_RAND_H
 
+/**
+ * \file
+ * This file defined random number generator function in vlc
+ */
+
 VLC_EXPORT( void, vlc_rand_bytes, (void *buf, size_t len) );
 
+/* Interlocked (but not reproducible) functions for the POSIX PRNG */
+VLC_EXPORT( double, vlc_drand48, (void) LIBVLC_USED );
+VLC_EXPORT( long, vlc_lrand48, (void) LIBVLC_USED );
+VLC_EXPORT( long, vlc_mrand48, (void) LIBVLC_USED );
+
 #endif