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