File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -1370,3 +1370,6 @@ utimensat
1370
1370
vhangup
1371
1371
vmsplice
1372
1372
waitid
1373
+ zx_cprng_add_entropy
1374
+ zx_cprng_draw
1375
+ zx_status_t
Original file line number Diff line number Diff line change @@ -89,6 +89,8 @@ pub type rlim_t = ::c_ulonglong;
89
89
pub type c_long = i64 ;
90
90
pub type c_ulong = u64 ;
91
91
92
+ pub type zx_status_t = i32 ;
93
+
92
94
// FIXME: why are these uninhabited types? that seems... wrong?
93
95
// Presumably these should be `()` or an `extern type` (when that stabilizes).
94
96
#[ cfg_attr( feature = "extra_traits" , derive( Debug ) ) ]
@@ -4228,6 +4230,9 @@ extern "C" {
4228
4230
> ,
4229
4231
data : * mut :: c_void ,
4230
4232
) -> :: c_int ;
4233
+
4234
+ pub fn zx_cprng_draw ( buffer : * mut :: c_void , buffer_size : :: size_t ) ;
4235
+ pub fn zx_cprng_add_entropy ( buffer : * const :: c_void , buffer_size : :: size_t ) -> :: zx_status_t ;
4231
4236
}
4232
4237
4233
4238
cfg_if ! {
You can’t perform that action at this time.
0 commit comments