]> git.sesse.net Git - vlc/blobdiff - include/vlc_rand.h
taglib: read wma covert arts.
[vlc] / include / vlc_rand.h
index 56e07affa8179e4fd54966b63e717f96e37b8fc4..4c738a0b61ca9dba51a90c749007267ee5a62370 100644 (file)
  * This file defined random number generator function in vlc
  */
 
-VLC_EXPORT( void, vlc_rand_bytes, (void *buf, size_t len) );
+VLC_API void vlc_rand_bytes(void *buf, size_t len);
+
+/* Interlocked (but not reproducible) functions for the POSIX PRNG */
+VLC_API double vlc_drand48(void) VLC_USED;
+VLC_API long vlc_lrand48(void) VLC_USED;
+VLC_API long vlc_mrand48(void) VLC_USED;
 
 #endif