On Mon, Jul 20, 2009 at 12:41:59PM +0200, Jan scratched on the wall: > thank you roger. > > Seems it's not an easy task. Guess I should go through some c tutorials. > Would be really nice to have this included in sqlite itself.
If someone is going to take the time to refactor the genfkey code into a stand-alone piece of code, I would like to suggest it is made into it a loadable module, so that it can be used pretty much anywhere. Also, if the code is written carefully, it is possible to use the same code to compile a module (.dll, .so, .dylib, etc.) or to compile directly into an SQLite build with very minimal changes (e.g. using #defines). That would be provide the most flexibility to the most people. -j > Roger Binns schrieb: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Jan wrote: > >> Is it possible to move genfkey to sqlite itself (as a function) > >> or to c++ code? > > > > I asked in February: http://www.sqlite.org/cvstrac/tktview?tn=3687 > > > >> Has anyone done/tried this? > > > > Since it looks like the functionality won't end up callable from C I > > have been toying with doing an automated extraction of the code from the > > shell. Unfortunately the various private functions aren't prefixed with > > sqlite3 like other SQLite private functions so I have to be very careful > > about namespace clashes. > > > > Roger > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.4.9 (GNU/Linux) > > > > iEYEARECAAYFAkpjv3sACgkQmOOfHg372QSqCwCg0BazN1f7LjLavyaayUpynuqI > > BKIAn3LchvDcsjtq5z0sTlqO71HNalF6 > > =NNrL > > -----END PGP SIGNATURE----- > > _______________________________________________ > > sqlite-users mailing list > > sqlite-users@sqlite.org > > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > > > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users -- Jay A. Kreibich < J A Y @ K R E I B I.C H > "Our opponent is an alien starship packed with atomic bombs. We have a protractor." "I'll go home and see if I can scrounge up a ruler and a piece of string." --from Anathem by Neal Stephenson _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users