/***************************************************************************
 *   Copyright (C) 2005 by Brian Lauber   *
 *   bml8@case.edu   *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 *   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, write to the                         *
 *   Free Software Foundation, Inc.,                                       *
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
 ***************************************************************************/

/***************************************************************
  When generating random numbers in multiple processes, it is
  difficult to seed all of the processes with unique random
  number keys.  To avoid this issue, I'll create a single
  process dedicated to creating random numbers.
***************************************************************/

#ifndef __BL_RANDOM_H__
#define __BL_RANDOM_H__

void AttachRandomizer(void); // This will create a link between the current process and
                             // the random number process.  If the random number process
                             // does not yet exist, it will be created

int  blRand(void);           // Assuming that the random number process has been created,
                             // this function should output random numbers

#endif

