aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_datastore_plugin.h
diff options
context:
space:
mode:
authorDavid Barksdale <amatus.amongus@gmail.com>2015-01-06 01:11:45 +0000
committerDavid Barksdale <amatus.amongus@gmail.com>2015-01-06 01:11:45 +0000
commit55182581d5e44ccc8d7495efd60a8f913d5b057d (patch)
tree219343d5a8d8c02bcb31dd10945dc98a491c340c /src/include/gnunet_datastore_plugin.h
parent56342b51c42bba7f627de23cde834994171fb267 (diff)
downloadgnunet-55182581d5e44ccc8d7495efd60a8f913d5b057d.tar.gz
gnunet-55182581d5e44ccc8d7495efd60a8f913d5b057d.zip
Workaround emscripten bug in returning int64_t
Emscripten can't return a 64-bit integer from dynamically loaded code.
Diffstat (limited to 'src/include/gnunet_datastore_plugin.h')
-rw-r--r--src/include/gnunet_datastore_plugin.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/gnunet_datastore_plugin.h b/src/include/gnunet_datastore_plugin.h
index 082173fff..9c3b34a9c 100644
--- a/src/include/gnunet_datastore_plugin.h
+++ b/src/include/gnunet_datastore_plugin.h
@@ -103,9 +103,10 @@ typedef int (*PluginDatumProcessor) (void *cls, const struct GNUNET_HashCode * k
103 * currently using. 103 * currently using.
104 * 104 *
105 * @param cls closure 105 * @param cls closure
106 * @param estimate location to store estimate
106 * @return number of bytes used on disk 107 * @return number of bytes used on disk
107 */ 108 */
108typedef unsigned long long (*PluginEstimateSize) (void *cls); 109typedef void (*PluginEstimateSize) (void *cls, unsigned long long *estimate);
109 110
110 111
111/** 112/**