60 lines
1.7 KiB
C
60 lines
1.7 KiB
C
/****************************************************************************
|
|
|
|
|
| (C) Copyright 1985, 1991, 1993, 1996 Novell, Inc.
|
|
| All Rights Reserved.
|
|
|
|
|
| This program is free software; you can redistribute it and/or
|
|
| modify it under the terms of version 2 of the GNU General Public
|
|
| License as published by the Free Software Foundation.
|
|
|
|
|
| This program is distributed in the hope that it will be useful,
|
|
| but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
| GNU General Public License for more details.
|
|
|
|
|
| You should have received a copy of the GNU General Public License
|
|
| along with this program; if not, contact Novell, Inc.
|
|
|
|
|
| To contact Novell about this file by physical or electronic mail,
|
|
| you may find current contact information at www.novell.com
|
|
|
|
|
|***************************************************************************
|
|
|
|
|
| NetWare Advance File Services (NSS) Initialization module
|
|
|
|
|
|---------------------------------------------------------------------------
|
|
|
|
|
| $Author: taysom $
|
|
| $Date: 2004-12-31 01:10:58 +0530 (Fri, 31 Dec 2004) $
|
|
|
|
|
| $RCSfile$
|
|
| $Revision: 465 $
|
|
|
|
|
|---------------------------------------------------------------------------
|
|
| This module is used to:
|
|
| Header for random number generator
|
|
+-------------------------------------------------------------------------*/
|
|
#ifndef _RAND_H_
|
|
#define _RAND_H_
|
|
|
|
#ifndef _ZOMNI_H_
|
|
#include <zOmni.h>
|
|
#endif
|
|
|
|
void srndLong(QUAD);
|
|
QUAD rndLong();
|
|
|
|
void srndQuad(QUAD);
|
|
SQUAD rndQuad();
|
|
|
|
void srandQuad(QUAD);
|
|
SQUAD randQuad();
|
|
|
|
double chiSquareQuad(
|
|
unsigned numTests,
|
|
unsigned range,
|
|
unsigned *freq,
|
|
QUAD (*rand)());
|
|
|
|
#endif
|