summaryrefslogtreecommitdiff
path: root/src/include/anastasis_database_plugin.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-08-23 00:17:58 +0200
committerChristian Grothoff <christian@grothoff.org>2021-08-23 00:18:03 +0200
commit6dac69c96aaf84c32802ac8140101df3b8dea60d (patch)
tree66be3d4b882d54117999fd96d89022c7c0f2d814 /src/include/anastasis_database_plugin.h
parent7e4bfbf1c17a5faf04b94e7db04e5536617a4a92 (diff)
downloadanastasis-6dac69c96aaf84c32802ac8140101df3b8dea60d.tar.gz
anastasis-6dac69c96aaf84c32802ac8140101df3b8dea60d.tar.bz2
anastasis-6dac69c96aaf84c32802ac8140101df3b8dea60d.zip
adjust to latest GNUnet API changes
Diffstat (limited to 'src/include/anastasis_database_plugin.h')
-rw-r--r--src/include/anastasis_database_plugin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/anastasis_database_plugin.h b/src/include/anastasis_database_plugin.h
index 069d0d9..96a9367 100644
--- a/src/include/anastasis_database_plugin.h
+++ b/src/include/anastasis_database_plugin.h
@@ -262,6 +262,7 @@ struct ANASTASIS_DatabasePlugin
*
* @param cls database context to use
* @param es specification of the event to listen for
+ * @param timeout how long to wait for the event
* @param cb function to call when the event happens, possibly
* multiple times (until cancel is invoked)
* @param cb_cls closure for @a cb
@@ -270,6 +271,7 @@ struct ANASTASIS_DatabasePlugin
struct GNUNET_DB_EventHandler *
(*event_listen)(void *cls,
const struct GNUNET_DB_EventHeaderP *es,
+ struct GNUNET_TIME_Relative timeout,
GNUNET_DB_EventCallback cb,
void *cb_cls);