-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 05/20/2010 01:21 PM, Max Cat wrote: > Thanks. In writing the VFS, I see several function pointers that don't appear > to have explanations. Can anyone help shed some light on what the following > are supposed to do (and what their parameters are)? > >>From http://sqlite.org/c3ref/vfs.html > > void *(*xDlOpen)(sqlite3_vfs*, const char *zFilename); > void (*xDlError)(sqlite3_vfs*, int nByte, char *zErrMsg); > void (*(*xDlSym)(sqlite3_vfs*,void*, const char *zSymbol))(void); > void (*xDlClose)(sqlite3_vfs*, void*);
They are similar to the dlopen/dlerror/dlsym/dlclose methods under Posix. Check out those man pages. I also have documentation for them in my Python wrapper: http://apsw.googlecode.com/svn/publish/vfs.html#apsw.VFS.xDlClose > int (*xGetLastError)(sqlite3_vfs*, int, char *); > > (The last one seems a bit self evident, but there was no documentation on it, > either.) Don't bother implementing it. It isn't called anywhere. http://apsw.googlecode.com/svn/publish/vfs.html#apsw.VFS.xGetLastError Roger -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkv1qUQACgkQmOOfHg372QSmIACgk0o+05YBwg4fUdTO7LHgnvxM LoYAoM3crfCQ+Jz8YLw29W7ISzzCYKdS =Jzfn -----END PGP SIGNATURE----- _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

