/usr/include/poppler/goo/grandom.h is in libpoppler-private-dev 0.62.0-2ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | /*
* grandom.h
*
* This file is licensed under the GPLv2 or later
*
* Pseudo-random number generation
*
* Copyright (C) 2012 Fabio D'Urso <fabiodurso@hotmail.it>
*/
#ifndef GRANDOM_H
#define GRANDOM_H
#include "gtypes.h"
#ifdef __cplusplus
extern "C" {
#endif
/*
* Fills the given buffer with random bytes
*/
extern void grandom_fill(Guchar *buff, int size);
/*
* Returns a random number in [0,1)
*/
extern double grandom_double();
#ifdef __cplusplus
}
#endif
#endif
|