]> granicus.if.org Git - imagemagick/blobdiff - MagickCore/random_.h
(no commit message)
[imagemagick] / MagickCore / random_.h
index ab1eeb57f59f0159aafa8a03045f65ea543c3317..fcf478b5b72b73f76a7d8c8f61c4fc81fc88b4b6 100644 (file)
@@ -1,5 +1,5 @@
 /*
-  Copyright 1999-2012 ImageMagick Studio LLC, a non-profit organization
+  Copyright 1999-2014 ImageMagick Studio LLC, a non-profit organization
   dedicated to making software imaging solutions freely available.
   
   You may not use this file except in compliance with the License.
 #ifndef _MAGICKCORE_RANDOM__H
 #define _MAGICKCORE_RANDOM__H
 
+#include "MagickCore/string_.h"
+
 #if defined(__cplusplus) || defined(c_plusplus)
 extern "C" {
 #endif
 
-#include "MagickCore/string_.h"
-
 /*
   Typedef declarations.
 */
@@ -44,9 +44,12 @@ extern MagickExport RandomInfo
 extern MagickExport StringInfo
   *GetRandomKey(RandomInfo *,const size_t);
 
+extern MagickExport unsigned long
+  GetRandomSecretKey(const RandomInfo *);
+
 extern MagickExport void
-  SeedPseudoRandomGenerator(const unsigned long),
   SetRandomKey(RandomInfo *,const size_t,unsigned char *),
+  SetRandomSecretKey(const unsigned long),
   SetRandomTrueRandom(const MagickBooleanType);
 
 #if defined(__cplusplus) || defined(c_plusplus)