X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_rand.h;h=0023d7cdaf6869e0de68a1e6412906d08a21f8f4;hb=f659703fb4033420e0607d34bc7cd880a5802ea7;hp=56e07affa8179e4fd54966b63e717f96e37b8fc4;hpb=ebd800345f87349ff51971ae88c56cb439da4dcf;p=vlc diff --git a/include/vlc_rand.h b/include/vlc_rand.h index 56e07affa8..0023d7cdaf 100644 --- a/include/vlc_rand.h +++ b/include/vlc_rand.h @@ -29,4 +29,9 @@ 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