18#ifndef MAGICKCORE_RANDOM__H
19#define MAGICKCORE_RANDOM__H
21#include "MagickCore/string_.h"
23#if defined(__cplusplus) || defined(c_plusplus)
36extern MagickExport
double
37 GetRandomValue(RandomInfo *),
38 GetPseudoRandomValue(RandomInfo *magick_restrict);
40extern MagickExport RandomInfo
41 *AcquireRandomInfo(
void),
42 *DestroyRandomInfo(RandomInfo *);
44extern MagickExport StringInfo
45 *GetRandomKey(RandomInfo *,
const size_t);
47extern MagickExport
unsigned long
48 GetRandomSecretKey(
const RandomInfo *);
50extern MagickExport
void
51 SetRandomKey(RandomInfo *,
const size_t,
unsigned char *),
52 SetRandomSecretKey(
const unsigned long),
53 SetRandomTrueRandom(
const MagickBooleanType);
55#if defined(__cplusplus) || defined(c_plusplus)