major, duplicate the vertex core code for lmdb

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
chore, import with() goodness into nifty.h

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, refactor putcatting as mdb_putcat()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
fix, PEBKAC, use actual data for an MDB_val's mv_data slot

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
major, duplicate the edge core code for lmdb

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
chore, offer both backends at configure level, defaulting to tokyocabinet

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
fix, PEBKAC, bring tested-away temp var

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, be iffy about not specifying a database backend in rotz.c

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, provide default database names depending on the backend to use

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, use RTZ_DFLT_DB everywhere that uses rotz-cmd-api

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
chore, be lazy and just add lmdb_CFLAGS and lmdb_LIBS to librotz.la

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
chore, actually open lmdb files with a set of sane flags

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
fix, transact on read-only actions with MDB_RDONLY

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
fix, PEBKAC, return the number of edges in result vtxlst in get_edges()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
major, duplicate the iter code for lmdb

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, lift the generic iterator to rotz.h as rotz_iter()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, migrate rotz-search's prefix matching routine to rotz_iter() generic iterator

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, conditionalise on the db backend in use in rotz-fsck tool

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'core/mdb' into next

* core/mdb:
  minor, conditionalise on the db backend in use in rotz-fsck tool
  minor, migrate rotz-search's prefix matching routine to rotz_iter() generic iterator
  minor, lift the generic iterator to rotz.h as rotz_iter()
  major, duplicate the iter code for lmdb
  fix, PEBKAC, return the number of edges in result vtxlst in get_edges()
  fix, transact on read-only actions with MDB_RDONLY
  chore, actually open lmdb files with a set of sane flags
  chore, be lazy and just add lmdb_CFLAGS and lmdb_LIBS to librotz.la
  minor, use RTZ_DFLT_DB everywhere that uses rotz-cmd-api
  minor, provide default database names depending on the backend to use
  minor, be iffy about not specifying a database backend in rotz.c
  fix, PEBKAC, bring tested-away temp var
  chore, offer both backends at configure level, defaulting to tokyocabinet
  major, duplicate the edge core code for lmdb
  fix, PEBKAC, use actual data for an MDB_val's mv_data slot
  minor, refactor putcatting as mdb_putcat()
  chore, import with() goodness into nifty.h
  major, duplicate the vertex core code for lmdb
Merge branch 'next'

* next:
  minor, conditionalise on the db backend in use in rotz-fsck tool
  minor, migrate rotz-search's prefix matching routine to rotz_iter() generic iterator
  minor, lift the generic iterator to rotz.h as rotz_iter()
  major, duplicate the iter code for lmdb
  fix, PEBKAC, return the number of edges in result vtxlst in get_edges()
  fix, transact on read-only actions with MDB_RDONLY
  chore, actually open lmdb files with a set of sane flags
  chore, be lazy and just add lmdb_CFLAGS and lmdb_LIBS to librotz.la
  minor, use RTZ_DFLT_DB everywhere that uses rotz-cmd-api
  minor, provide default database names depending on the backend to use
  minor, be iffy about not specifying a database backend in rotz.c
  fix, PEBKAC, bring tested-away temp var
  chore, offer both backends at configure level, defaulting to tokyocabinet
  major, duplicate the edge core code for lmdb
  fix, PEBKAC, use actual data for an MDB_val's mv_data slot
  minor, refactor putcatting as mdb_putcat()
  chore, import with() goodness into nifty.h
  major, duplicate the vertex core code for lmdb