[datastore] Create remove plugin API call
authorDavid Barksdale <amatus@amat.us>
Mon, 17 Apr 2017 01:46:21 +0000 (20:46 -0500)
committerDavid Barksdale <amatus@amat.us>
Mon, 17 Apr 2017 01:49:27 +0000 (20:49 -0500)
commita58d36b8da7afa42410bac54f57d5f3b6b6c4391
tree87b00f07dda6a5c28a9d65ef9c05044cab2336fd
parent4907330f51ffd48af1f7bac6f43c7c7f78c37818
[datastore] Create remove plugin API call

The only use of vhash in the get_key call was for removing, split that out
into its own function.  This simplifies the get_key call and removes the
need for some indexes, speeding up insertion into the database.
src/datastore/gnunet-service-datastore.c
src/datastore/plugin_datastore_heap.c
src/datastore/plugin_datastore_mysql.c
src/datastore/plugin_datastore_postgres.c
src/datastore/plugin_datastore_sqlite.c
src/datastore/plugin_datastore_template.c
src/datastore/test_plugin_datastore.c
src/include/gnunet_datastore_plugin.h