Merge pull request #2810 from kumpera/fix_hazard_free
[mono.git] / mono / metadata / rand.h
1 /*
2  * rand.h: System.Security.Cryptography.RNGCryptoServiceProvider support
3  *
4  * Author:
5  *      Mark Crichton (crichton@gimp.org)
6  *      Sebastien Pouliot (sebastien@ximian.com)
7  *
8  * (C) 2001 Ximian, Inc.
9  * Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
10  * Licensed under the MIT license. See LICENSE file in the project root for full license information.
11  */
12
13 #ifndef _MONO_METADATA_RAND_H_
14 #define _MONO_METADATA_RAND_H_
15
16 #include <glib.h>
17 #include <mono/metadata/object.h>
18 #include "mono/utils/mono-compiler.h"
19
20 MonoBoolean ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_RngOpen (void);
21 gpointer ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_RngInitialize (MonoArray *seed);
22 gpointer ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_RngGetBytes (gpointer handle, MonoArray *arry);
23 void ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_RngClose (gpointer handle);
24
25 #endif