diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-10-27 22:27:11 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-10-27 22:27:11 +0000 |
commit | b3443c6ab7b18ee57866ac531bf9f40aa3eb5261 (patch) | |
tree | 272b88c59422b9954acb6c7ee08e4a2e9e520a70 /src/include/gnunet_client_lib.h | |
parent | 64d39ac5f14b54eecc2c7cd99b04d05ff04a894f (diff) | |
download | gnunet-b3443c6ab7b18ee57866ac531bf9f40aa3eb5261.tar.gz gnunet-b3443c6ab7b18ee57866ac531bf9f40aa3eb5261.zip |
allowing cancellation of resolver requests
Diffstat (limited to 'src/include/gnunet_client_lib.h')
-rw-r--r-- | src/include/gnunet_client_lib.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/include/gnunet_client_lib.h b/src/include/gnunet_client_lib.h index c78df41c7..2ba9e135f 100644 --- a/src/include/gnunet_client_lib.h +++ b/src/include/gnunet_client_lib.h | |||
@@ -64,10 +64,15 @@ struct GNUNET_CLIENT_Connection *GNUNET_CLIENT_connect (struct | |||
64 | *cfg); | 64 | *cfg); |
65 | 65 | ||
66 | /** | 66 | /** |
67 | * Destroy connection with the service. This will | 67 | * Destroy connection with the service. This will automatically |
68 | * automatically cancel any pending "receive" request | 68 | * cancel any pending "receive" request (however, the handler will |
69 | * (however, the handler will *NOT* be called, not | 69 | * *NOT* be called, not even with a NULL message). Any pending |
70 | * even with a NULL message). | 70 | * transmission request will also be cancelled UNLESS the callback for |
71 | * the transmission request has already been called, in which case the | ||
72 | * transmission is guaranteed to complete before the socket is fully | ||
73 | * destroyed. | ||
74 | * | ||
75 | * @param sock handle to the service connection | ||
71 | */ | 76 | */ |
72 | void GNUNET_CLIENT_disconnect (struct GNUNET_CLIENT_Connection *sock); | 77 | void GNUNET_CLIENT_disconnect (struct GNUNET_CLIENT_Connection *sock); |
73 | 78 | ||