diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-04-22 13:52:12 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-04-22 13:52:12 +0000 |
commit | a247d5bed5b7db6f92d34126be29e36d517eb82f (patch) | |
tree | 70541b1b4b49d46556dc9025ab68406b763fd546 /src/include/gnunet_client_lib.h | |
parent | 2f9e8c5139931e25f621b604fc3e142df54dc70d (diff) | |
download | gnunet-a247d5bed5b7db6f92d34126be29e36d517eb82f.tar.gz gnunet-a247d5bed5b7db6f92d34126be29e36d517eb82f.zip |
-doxygen
Diffstat (limited to 'src/include/gnunet_client_lib.h')
-rw-r--r-- | src/include/gnunet_client_lib.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/include/gnunet_client_lib.h b/src/include/gnunet_client_lib.h index 100de326f..51da46de6 100644 --- a/src/include/gnunet_client_lib.h +++ b/src/include/gnunet_client_lib.h | |||
@@ -69,10 +69,10 @@ GNUNET_CLIENT_connect (const char *service_name, | |||
69 | * destroyed (unless, of course, there is an error with the server in | 69 | * destroyed (unless, of course, there is an error with the server in |
70 | * which case the message may still be lost). | 70 | * which case the message may still be lost). |
71 | * | 71 | * |
72 | * @param sock handle to the service connection | 72 | * @param client handle to the service connection |
73 | */ | 73 | */ |
74 | void | 74 | void |
75 | GNUNET_CLIENT_disconnect (struct GNUNET_CLIENT_Connection *sock); | 75 | GNUNET_CLIENT_disconnect (struct GNUNET_CLIENT_Connection *client); |
76 | 76 | ||
77 | 77 | ||
78 | /** | 78 | /** |
@@ -103,13 +103,13 @@ typedef void (*GNUNET_CLIENT_ShutdownTask) (void *cls, int reason); | |||
103 | /** | 103 | /** |
104 | * Read from the service. | 104 | * Read from the service. |
105 | * | 105 | * |
106 | * @param sock the service | 106 | * @param client connection to the service |
107 | * @param handler function to call with the message | 107 | * @param handler function to call with the message |
108 | * @param handler_cls closure for handler | 108 | * @param handler_cls closure for handler |
109 | * @param timeout how long to wait until timing out | 109 | * @param timeout how long to wait until timing out |
110 | */ | 110 | */ |
111 | void | 111 | void |
112 | GNUNET_CLIENT_receive (struct GNUNET_CLIENT_Connection *sock, | 112 | GNUNET_CLIENT_receive (struct GNUNET_CLIENT_Connection *client, |
113 | GNUNET_CLIENT_MessageHandler handler, void *handler_cls, | 113 | GNUNET_CLIENT_MessageHandler handler, void *handler_cls, |
114 | struct GNUNET_TIME_Relative timeout); | 114 | struct GNUNET_TIME_Relative timeout); |
115 | 115 | ||
@@ -125,7 +125,7 @@ struct GNUNET_CLIENT_TransmitHandle; | |||
125 | * are free in the transmission buffer. May call the notify | 125 | * are free in the transmission buffer. May call the notify |
126 | * method immediately if enough space is available. | 126 | * method immediately if enough space is available. |
127 | * | 127 | * |
128 | * @param sock connection to the service | 128 | * @param client connection to the service |
129 | * @param size number of bytes to send | 129 | * @param size number of bytes to send |
130 | * @param timeout after how long should we give up (and call | 130 | * @param timeout after how long should we give up (and call |
131 | * notify with buf NULL and size 0)? | 131 | * notify with buf NULL and size 0)? |
@@ -141,7 +141,7 @@ struct GNUNET_CLIENT_TransmitHandle; | |||
141 | * using GNUNET_CONNECTION_notify_transmit_ready_cancel) | 141 | * using GNUNET_CONNECTION_notify_transmit_ready_cancel) |
142 | */ | 142 | */ |
143 | struct GNUNET_CLIENT_TransmitHandle * | 143 | struct GNUNET_CLIENT_TransmitHandle * |
144 | GNUNET_CLIENT_notify_transmit_ready (struct GNUNET_CLIENT_Connection *sock, | 144 | GNUNET_CLIENT_notify_transmit_ready (struct GNUNET_CLIENT_Connection *client, |
145 | size_t size, | 145 | size_t size, |
146 | struct GNUNET_TIME_Relative timeout, | 146 | struct GNUNET_TIME_Relative timeout, |
147 | int auto_retry, | 147 | int auto_retry, |
@@ -166,7 +166,7 @@ GNUNET_CLIENT_notify_transmit_ready_cancel (struct GNUNET_CLIENT_TransmitHandle | |||
166 | * will be called with a "NULL" response (in which | 166 | * will be called with a "NULL" response (in which |
167 | * case the connection should probably be destroyed). | 167 | * case the connection should probably be destroyed). |
168 | * | 168 | * |
169 | * @param sock connection to use | 169 | * @param client connection to use |
170 | * @param hdr message to transmit | 170 | * @param hdr message to transmit |
171 | * @param timeout when to give up (for both transmission | 171 | * @param timeout when to give up (for both transmission |
172 | * and for waiting for a response) | 172 | * and for waiting for a response) |
@@ -181,7 +181,7 @@ GNUNET_CLIENT_notify_transmit_ready_cancel (struct GNUNET_CLIENT_TransmitHandle | |||
181 | * is already pending | 181 | * is already pending |
182 | */ | 182 | */ |
183 | int | 183 | int |
184 | GNUNET_CLIENT_transmit_and_get_response (struct GNUNET_CLIENT_Connection *sock, | 184 | GNUNET_CLIENT_transmit_and_get_response (struct GNUNET_CLIENT_Connection *client, |
185 | const struct GNUNET_MessageHeader *hdr, | 185 | const struct GNUNET_MessageHeader *hdr, |
186 | struct GNUNET_TIME_Relative timeout, | 186 | struct GNUNET_TIME_Relative timeout, |
187 | int auto_retry, | 187 | int auto_retry, |