Revert "Roll NDK to r11c and extract it into its own repository."
[android_tools.git] / ndk / platforms / android-19 / arch-x86 / usr / include / linux / random.h
blobd2bef975d396c1ab9162121ade7f741866e9cc29
1 /****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 ****************************************************************************
11 ****************************************************************************/
12 #ifndef _LINUX_RANDOM_H
13 #define _LINUX_RANDOM_H
15 #include <linux/ioctl.h>
17 #define RNDGETENTCNT _IOR( 'R', 0x00, int )
19 #define RNDADDTOENTCNT _IOW( 'R', 0x01, int )
21 #define RNDGETPOOL _IOR( 'R', 0x02, int [2] )
23 #define RNDADDENTROPY _IOW( 'R', 0x03, int [2] )
25 #define RNDZAPENTCNT _IO( 'R', 0x04 )
27 #define RNDCLEARPOOL _IO( 'R', 0x06 )
29 struct rand_pool_info {
30 int entropy_count;
31 int buf_size;
32 __u32 buf[0];
35 #endif