diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_peerstore_service.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/include/gnunet_peerstore_service.h b/src/include/gnunet_peerstore_service.h index 7a79a8b56..c2d55dd84 100644 --- a/src/include/gnunet_peerstore_service.h +++ b/src/include/gnunet_peerstore_service.h | |||
@@ -133,12 +133,14 @@ struct GNUNET_PEERSTORE_Handle * | |||
133 | GNUNET_PEERSTORE_connect (const struct GNUNET_CONFIGURATION_Handle *cfg); | 133 | GNUNET_PEERSTORE_connect (const struct GNUNET_CONFIGURATION_Handle *cfg); |
134 | 134 | ||
135 | /** | 135 | /** |
136 | * Disconnect from the PEERSTORE service | 136 | * Disconnect from the PEERSTORE service. Any pending ITERATE and WATCH requests |
137 | * will be canceled. Any pending STORE requests will depend on @snyc_first flag. | ||
137 | * | 138 | * |
138 | * @param h handle to disconnect | 139 | * @param h handle to disconnect |
140 | * @param sync_first send any pending STORE requests before disconnecting | ||
139 | */ | 141 | */ |
140 | void | 142 | void |
141 | GNUNET_PEERSTORE_disconnect(struct GNUNET_PEERSTORE_Handle *h); | 143 | GNUNET_PEERSTORE_disconnect (struct GNUNET_PEERSTORE_Handle *h, int sync_first); |
142 | 144 | ||
143 | /** | 145 | /** |
144 | * Store a new entry in the PEERSTORE | 146 | * Store a new entry in the PEERSTORE |