#ifndef GNUNET_DATASTORE_SERVICE_H
#define GNUNET_DATASTORE_SERVICE_H
-#include "gnunet_core.h"
+#include "gnunet_util_lib.h"
#ifdef __cplusplus
extern "C"
/**
* Disconnect from the datastore service (and free
* associated resources).
+ *
* @param h handle to the datastore
+ * @param drop set to GNUNET_YES to delete all data in datastore (!)
*/
-void GNUNET_DATASTORE_disconnect (struct GNUNET_DATASTORE_Handle *h);
+void GNUNET_DATASTORE_disconnect (struct GNUNET_DATASTORE_Handle *h,
+ int drop);
/**
const GNUNET_HashCode * key,
uint32_t size,
const void *data,
- unit32_t type,
+ uint32_t type,
uint32_t priority,
uint32_t anonymity,
struct GNUNET_TIME_Absolute expiration);