aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_connection_lib.h
diff options
context:
space:
mode:
authorNils Durner <durner@gnunet.org>2009-08-29 17:55:26 +0000
committerNils Durner <durner@gnunet.org>2009-08-29 17:55:26 +0000
commitb1a757d39ec31b6e745ee4f5974a81e2af7ea06b (patch)
tree755563a839003dfae8c222076e0f67a839b023c9 /src/include/gnunet_connection_lib.h
parent77b14843ec9990facf63586919c865d59c3a5996 (diff)
downloadgnunet-b1a757d39ec31b6e745ee4f5974a81e2af7ea06b.tar.gz
gnunet-b1a757d39ec31b6e745ee4f5974a81e2af7ea06b.zip
naming
Diffstat (limited to 'src/include/gnunet_connection_lib.h')
-rw-r--r--src/include/gnunet_connection_lib.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/include/gnunet_connection_lib.h b/src/include/gnunet_connection_lib.h
index 69bd7d4a6..34f6bd8a2 100644
--- a/src/include/gnunet_connection_lib.h
+++ b/src/include/gnunet_connection_lib.h
@@ -95,7 +95,7 @@ typedef void (*GNUNET_NETWORK_Receiver) (void *cls,
95 * @return the boxed socket handle 95 * @return the boxed socket handle
96 */ 96 */
97struct GNUNET_NETWORK_ConnectionHandle 97struct GNUNET_NETWORK_ConnectionHandle
98 *GNUNET_NETWORK_connection_create_from_existing (struct 98 *GNUNET_CONNECTION_create_from_existing (struct
99 GNUNET_SCHEDULER_Handle 99 GNUNET_SCHEDULER_Handle
100 *sched, 100 *sched,
101 struct 101 struct
@@ -116,7 +116,7 @@ struct GNUNET_NETWORK_ConnectionHandle
116 * @return the socket handle, NULL on error (for example, access refused) 116 * @return the socket handle, NULL on error (for example, access refused)
117 */ 117 */
118struct GNUNET_NETWORK_ConnectionHandle 118struct GNUNET_NETWORK_ConnectionHandle
119 *GNUNET_NETWORK_connection_create_from_accept (struct 119 *GNUNET_CONNECTION_create_from_accept (struct
120 GNUNET_SCHEDULER_Handle 120 GNUNET_SCHEDULER_Handle
121 *sched, 121 *sched,
122 GNUNET_NETWORK_AccessCheck 122 GNUNET_NETWORK_AccessCheck
@@ -139,7 +139,7 @@ struct GNUNET_NETWORK_ConnectionHandle
139 * @return the socket handle 139 * @return the socket handle
140 */ 140 */
141struct GNUNET_NETWORK_ConnectionHandle 141struct GNUNET_NETWORK_ConnectionHandle
142 *GNUNET_NETWORK_connection_create_from_connect (struct 142 *GNUNET_CONNECTION_create_from_connect (struct
143 GNUNET_SCHEDULER_Handle 143 GNUNET_SCHEDULER_Handle
144 *sched, 144 *sched,
145 const char *hostname, 145 const char *hostname,
@@ -162,7 +162,7 @@ struct GNUNET_NETWORK_ConnectionHandle
162 * @return the socket handle 162 * @return the socket handle
163 */ 163 */
164struct GNUNET_NETWORK_ConnectionHandle 164struct GNUNET_NETWORK_ConnectionHandle
165 *GNUNET_NETWORK_connection_create_from_sockaddr (struct 165 *GNUNET_CONNECTION_create_from_sockaddr (struct
166 GNUNET_SCHEDULER_Handle 166 GNUNET_SCHEDULER_Handle
167 *sched, int af_family, 167 *sched, int af_family,
168 const struct sockaddr 168 const struct sockaddr
@@ -178,7 +178,7 @@ struct GNUNET_NETWORK_ConnectionHandle
178 * @param sock socket to check 178 * @param sock socket to check
179 * @return GNUNET_YES if valid, GNUNET_NO otherwise 179 * @return GNUNET_YES if valid, GNUNET_NO otherwise
180 */ 180 */
181int GNUNET_NETWORK_connection_check (struct GNUNET_NETWORK_ConnectionHandle 181int GNUNET_CONNECTION_check (struct GNUNET_NETWORK_ConnectionHandle
182 *sock); 182 *sock);
183 183
184 184
@@ -190,7 +190,7 @@ int GNUNET_NETWORK_connection_check (struct GNUNET_NETWORK_ConnectionHandle
190 * @param addrlen where to store the length of the address 190 * @param addrlen where to store the length of the address
191 * @return GNUNET_OK on success 191 * @return GNUNET_OK on success
192 */ 192 */
193int GNUNET_NETWORK_connection_get_address (struct 193int GNUNET_CONNECTION_get_address (struct
194 GNUNET_NETWORK_ConnectionHandle 194 GNUNET_NETWORK_ConnectionHandle
195 *sock, void **addr, 195 *sock, void **addr,
196 size_t * addrlen); 196 size_t * addrlen);
@@ -202,7 +202,7 @@ int GNUNET_NETWORK_connection_get_address (struct
202 * 202 *
203 * @param sock socket to destroy 203 * @param sock socket to destroy
204 */ 204 */
205void GNUNET_NETWORK_connection_destroy (struct GNUNET_NETWORK_ConnectionHandle 205void GNUNET_CONNECTION_destroy (struct GNUNET_NETWORK_ConnectionHandle
206 *sock); 206 *sock);
207 207
208 208
@@ -221,7 +221,7 @@ void GNUNET_NETWORK_connection_destroy (struct GNUNET_NETWORK_ConnectionHandle
221 * @return scheduler task ID used for receiving, GNUNET_SCHEDULER_NO_TASK on error 221 * @return scheduler task ID used for receiving, GNUNET_SCHEDULER_NO_TASK on error
222 */ 222 */
223GNUNET_SCHEDULER_TaskIdentifier 223GNUNET_SCHEDULER_TaskIdentifier
224GNUNET_NETWORK_connection_receive (struct GNUNET_NETWORK_ConnectionHandle 224GNUNET_CONNECTION_receive (struct GNUNET_NETWORK_ConnectionHandle
225 *sock, size_t max, 225 *sock, size_t max,
226 struct GNUNET_TIME_Relative timeout, 226 struct GNUNET_TIME_Relative timeout,
227 GNUNET_NETWORK_Receiver receiver, 227 GNUNET_NETWORK_Receiver receiver,
@@ -237,7 +237,7 @@ GNUNET_NETWORK_connection_receive (struct GNUNET_NETWORK_ConnectionHandle
237 * @param task task identifier returned from the receive call 237 * @param task task identifier returned from the receive call
238 * @return closure of the original receiver callback 238 * @return closure of the original receiver callback
239 */ 239 */
240void *GNUNET_NETWORK_connection_receive_cancel (struct 240void *GNUNET_CONNECTION_receive_cancel (struct
241 GNUNET_NETWORK_ConnectionHandle 241 GNUNET_NETWORK_ConnectionHandle
242 *sock, 242 *sock,
243 GNUNET_SCHEDULER_TaskIdentifier 243 GNUNET_SCHEDULER_TaskIdentifier
@@ -295,7 +295,7 @@ struct GNUNET_NETWORK_TransmitHandle;
295 * NULL if we are already going to notify someone else (busy) 295 * NULL if we are already going to notify someone else (busy)
296 */ 296 */
297struct GNUNET_NETWORK_TransmitHandle 297struct GNUNET_NETWORK_TransmitHandle
298 *GNUNET_NETWORK_connection_notify_transmit_ready (struct 298 *GNUNET_CONNECTION_notify_transmit_ready (struct
299 GNUNET_NETWORK_ConnectionHandle 299 GNUNET_NETWORK_ConnectionHandle
300 *sock, size_t size, 300 *sock, size_t size,
301 struct 301 struct
@@ -312,7 +312,7 @@ struct GNUNET_NETWORK_TransmitHandle
312 * @param h handle for notification to cancel 312 * @param h handle for notification to cancel
313 */ 313 */
314void 314void
315GNUNET_NETWORK_connection_notify_transmit_ready_cancel (struct 315GNUNET_CONNECTION_notify_transmit_ready_cancel (struct
316 GNUNET_NETWORK_TransmitHandle 316 GNUNET_NETWORK_TransmitHandle
317 *h); 317 *h);
318 318