1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/old-tests/device/random.h
2001-11-09 08:48:22 +00:00

26 lines
373 B
C

/*
* Copyright (C) 2001 Sistina Software (UK) Limited
*
* This file is released under the GPL.
*/
/*
* Random number generator snarfed from the
* Stanford Graphbase.
*/
#ifndef _LVM_RANDOM_H
#define _LVM_RANDOM_H
#include "lvm-types.h"
void rand_init(int32_t seed);
int32_t rand_get(void);
/*
* Note this will reset the seed.
*/
int rand_check(void);
#endif