tdb2: add TDB_RDONLY flag, allow setting/unsetting it.
[ccan] / junkcode / swehack@gmail.com-snifstat /
2009-04-23 Rusty RussellNew junkcode!