1 // Copyright 2017 The PDFium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 6 7 #ifndef CORE_FXCRT_FX_RANDOM_H_ 8 #define CORE_FXCRT_FX_RANDOM_H_ 9 10 #include <stdint.h> 11 12 #include "core/fxcrt/span.h" 13 14 void* FX_Random_MT_Start(uint32_t dwSeed); 15 void FX_Random_MT_Close(void* pContext); 16 uint32_t FX_Random_MT_Generate(void* pContext); 17 18 void FX_Random_GenerateMT(pdfium::span<uint32_t> pBuffer); 19 20 #endif // CORE_FXCRT_FX_RANDOM_H_ 21