X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmetadata%2Frand.h;h=563b374835969d1375f8562b19057528e8bb4860;hb=58e8a9f85176c9607e605b888ef45db01a0f6997;hp=3005d96d9d5429e6e312341f57777b46ff87e974;hpb=7cbb1d091bc2053fc6ab9dd4807cfa6c9ac7063a;p=mono.git diff --git a/mono/metadata/rand.h b/mono/metadata/rand.h index 3005d96d9d5..563b3748359 100644 --- a/mono/metadata/rand.h +++ b/mono/metadata/rand.h @@ -3,17 +3,23 @@ * * Author: * Mark Crichton (crichton@gimp.org) + * Sebastien Pouliot (sebastien@ximian.com) * * (C) 2001 Ximian, Inc. - * + * Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com) + * Licensed under the MIT license. See LICENSE file in the project root for full license information. */ #ifndef _MONO_METADATA_RAND_H_ #define _MONO_METADATA_RAND_H_ +#include #include +#include "mono/utils/mono-compiler.h" -void ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_GetBytes(MonoArray *arry); -void ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_GetNonZeroBytes(MonoArray *arry); +MonoBoolean ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_RngOpen (void); +gpointer ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_RngInitialize (MonoArray *seed); +gpointer ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_RngGetBytes (gpointer handle, MonoArray *arry); +void ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_RngClose (gpointer handle); #endif