2015-02-13 12:20:23 +00:00
|
|
|
/**
|
|
|
|
* \brief Overwritable backend-random methods
|
|
|
|
* \author Sebastian Sumpf
|
|
|
|
* \date 2015-02-13
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Copyright (C) 2015 Genode Labs GmbH
|
|
|
|
*
|
|
|
|
* This file is part of the Genode OS framework, which is distributed
|
|
|
|
* under the terms of the GNU General Public License version 2.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _INCLUDE__UTIL__RANDOM_H_
|
|
|
|
#define _INCLUDE__UTIL__RANDOM_H_
|
|
|
|
|
|
|
|
#include <base/stdint.h>
|
|
|
|
|
2017-01-18 14:43:38 +00:00
|
|
|
int rumpuser_getrandom_backend(void *buf, Genode::size_t buflen, int flags, Genode::size_t *retp);
|
2015-02-13 12:20:23 +00:00
|
|
|
|
|
|
|
#endif /* _INCLUDE__UTIL__RANDOM_H_ */
|