On Wed, 2007-01-31 at 20:04 -0600, Jay Sprenkle wrote:
> On 1/31/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > > Please pick a pseudo algorithm of your choice and give us the ability to
> > > seed it?
> > >
> >
> > You already have this capability.  Use the redefinably I/O feature
> > to insert your own random number seeder in place of the one that
> > comes built in.
> 
> 
> I don't follow that. You mean write a user defined function?

I think you'll need to define SQLITE_ENABLE_REDEF_IO when compiling
and then do something like:

  int myRandomSeedFunction(char *zOutputBuffer){ ... }

  sqlite3_os_switch()->xRandomSeed = myRandomSeedFunction;

The comments in os.h have the details.

Dan.


> 
> --
> The PixAddixImage Collector suite:
> http://groups-beta.google.com/group/pixaddix
> 
> SqliteImporter and SqliteReplicator: Command line utilities for Sqlite
> http://www.reddawn.net/~jsprenkl/Sqlite
> 
> Cthulhu Bucks!
> http://www.cthulhubucks.com


-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to