patch for async TCP sockets. without this change the callbacks will
[mono.git] / mono / metadata / rand.h
index 7894ddae12b31a0c76a78d7be7fea434c4d479af..96b4efe76ffcf9a55c329ad965fc49bd3955e7f3 100644 (file)
@@ -6,16 +6,18 @@
  *     Sebastien Pouliot (sebastien@ximian.com)
  *
  * (C) 2001 Ximian, Inc.
- * (C) 2004 Novell (http://www.novell.com)
- *
+ * Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
  */
 
 #ifndef _MONO_METADATA_RAND_H_
 #define _MONO_METADATA_RAND_H_
 
 #include <mono/metadata/object.h>
+#include "mono/utils/mono-compiler.h"
 
-void ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_InternalGetBytes (MonoObject *self, MonoArray *arry);
-void ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_Seed (MonoArray *seed);
+MonoBoolean ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_RngOpen (void) MONO_INTERNAL;
+gpointer ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_RngInitialize (MonoArray *seed) MONO_INTERNAL;
+gpointer ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_RngGetBytes (gpointer handle, MonoArray *arry) MONO_INTERNAL;
+void ves_icall_System_Security_Cryptography_RNGCryptoServiceProvider_RngClose (gpointer handle) MONO_INTERNAL;
 
 #endif