diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-10-25 10:57:43 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-10-25 10:57:43 +0000 |
commit | 42dbd0d48e6bd38d58c7d58d523f5f71efed22a0 (patch) | |
tree | 55113c83d4002cfd8a044ac736d579ad2bc85118 /src/include/gnunet_statistics_service.h | |
parent | f4dfb3bfeadf3ce0788fef942804fe4f25e7fc99 (diff) | |
download | gnunet-42dbd0d48e6bd38d58c7d58d523f5f71efed22a0.tar.gz gnunet-42dbd0d48e6bd38d58c7d58d523f5f71efed22a0.zip |
make sure stats that are being set can be committed on destroy
Diffstat (limited to 'src/include/gnunet_statistics_service.h')
-rw-r--r-- | src/include/gnunet_statistics_service.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/include/gnunet_statistics_service.h b/src/include/gnunet_statistics_service.h index d8f17b8a1..0fc84cfc3 100644 --- a/src/include/gnunet_statistics_service.h +++ b/src/include/gnunet_statistics_service.h | |||
@@ -84,8 +84,13 @@ struct GNUNET_STATISTICS_Handle | |||
84 | /** | 84 | /** |
85 | * Destroy a handle (free all state associated with | 85 | * Destroy a handle (free all state associated with |
86 | * it). | 86 | * it). |
87 | * | ||
88 | * @param h statistics handle to destroy | ||
89 | * @param sync_first set to GNUNET_YES if pending SET requests should | ||
90 | * be completed | ||
87 | */ | 91 | */ |
88 | void GNUNET_STATISTICS_destroy (struct GNUNET_STATISTICS_Handle *handle); | 92 | void GNUNET_STATISTICS_destroy (struct GNUNET_STATISTICS_Handle *h, |
93 | int sync_first); | ||
89 | 94 | ||
90 | 95 | ||
91 | /** | 96 | /** |