mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 06:44:16 +01:00
10fbce08c0
Rename: ndb/src/common/util/ndb_rand.c -> storage/ndb/src/common/util/ndb_rand.c ndb_rand.h: Rename: ndb/include/util/ndb_rand.h -> storage/ndb/include/util/ndb_rand.h storage/ndb/include/util/ndb_rand.h: Rename: ndb/include/util/ndb_rand.h -> storage/ndb/include/util/ndb_rand.h storage/ndb/src/common/util/ndb_rand.c: Rename: ndb/src/common/util/ndb_rand.c -> storage/ndb/src/common/util/ndb_rand.c
33 lines
892 B
C
33 lines
892 B
C
/* Copyright (C) 2003 MySQL AB
|
|
|
|
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; version 2 of the License.
|
|
|
|
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 */
|
|
|
|
#ifndef NDB_RAND_H
|
|
#define NDB_RAND_H
|
|
|
|
#define NDB_RAND_MAX 32767
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
int ndb_rand(void);
|
|
|
|
void ndb_srand(unsigned seed);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|