aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_connection_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-08-29 18:29:34 +0000
committerChristian Grothoff <christian@grothoff.org>2009-08-29 18:29:34 +0000
commiteb0874673e122ddd822af3f4a9f9090c6104cd2a (patch)
tree8f7b3e46c546bd35fabd7db4c49e349b8073f589 /src/include/gnunet_connection_lib.h
parentd867aaafeb27cc071388559585a0d0dfbc96e45b (diff)
downloadgnunet-eb0874673e122ddd822af3f4a9f9090c6104cd2a.tar.gz
gnunet-eb0874673e122ddd822af3f4a9f9090c6104cd2a.zip
more naming fixes
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 34f6bd8a2..41d56ec0f 100644
--- a/src/include/gnunet_connection_lib.h
+++ b/src/include/gnunet_connection_lib.h
@@ -47,7 +47,7 @@ extern "C"
47/** 47/**
48 * @brief handle for a network connection 48 * @brief handle for a network connection
49 */ 49 */
50struct GNUNET_NETWORK_ConnectionHandle; 50struct GNUNET_CONNECTION_Handle;
51 51
52 52
53/** 53/**
@@ -94,7 +94,7 @@ typedef void (*GNUNET_NETWORK_Receiver) (void *cls,
94 * 0 for sockets that need no write buffers, such as listen sockets) 94 * 0 for sockets that need no write buffers, such as listen sockets)
95 * @return the boxed socket handle 95 * @return the boxed socket handle
96 */ 96 */
97struct GNUNET_NETWORK_ConnectionHandle 97struct GNUNET_CONNECTION_Handle
98 *GNUNET_CONNECTION_create_from_existing (struct 98 *GNUNET_CONNECTION_create_from_existing (struct
99 GNUNET_SCHEDULER_Handle 99 GNUNET_SCHEDULER_Handle
100 *sched, 100 *sched,
@@ -115,7 +115,7 @@ struct GNUNET_NETWORK_ConnectionHandle
115 * 0 for sockets that need no write buffers, such as listen sockets) 115 * 0 for sockets that need no write buffers, such as listen sockets)
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_CONNECTION_Handle
119 *GNUNET_CONNECTION_create_from_accept (struct 119 *GNUNET_CONNECTION_create_from_accept (struct
120 GNUNET_SCHEDULER_Handle 120 GNUNET_SCHEDULER_Handle
121 *sched, 121 *sched,
@@ -138,7 +138,7 @@ struct GNUNET_NETWORK_ConnectionHandle
138 * 0 for sockets that need no write buffers, such as listen sockets) 138 * 0 for sockets that need no write buffers, such as listen sockets)
139 * @return the socket handle 139 * @return the socket handle
140 */ 140 */
141struct GNUNET_NETWORK_ConnectionHandle 141struct GNUNET_CONNECTION_Handle
142 *GNUNET_CONNECTION_create_from_connect (struct 142 *GNUNET_CONNECTION_create_from_connect (struct
143 GNUNET_SCHEDULER_Handle 143 GNUNET_SCHEDULER_Handle
144 *sched, 144 *sched,
@@ -161,7 +161,7 @@ struct GNUNET_NETWORK_ConnectionHandle
161 * 0 for sockets that need no write buffers, such as listen sockets) 161 * 0 for sockets that need no write buffers, such as listen sockets)
162 * @return the socket handle 162 * @return the socket handle
163 */ 163 */
164struct GNUNET_NETWORK_ConnectionHandle 164struct GNUNET_CONNECTION_Handle
165 *GNUNET_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,
@@ -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_CONNECTION_check (struct GNUNET_NETWORK_ConnectionHandle 181int GNUNET_CONNECTION_check (struct GNUNET_CONNECTION_Handle
182 *sock); 182 *sock);
183 183
184 184
@@ -191,7 +191,7 @@ int GNUNET_CONNECTION_check (struct GNUNET_NETWORK_ConnectionHandle
191 * @return GNUNET_OK on success 191 * @return GNUNET_OK on success
192 */ 192 */
193int GNUNET_CONNECTION_get_address (struct 193int GNUNET_CONNECTION_get_address (struct
194 GNUNET_NETWORK_ConnectionHandle 194 GNUNET_CONNECTION_Handle
195 *sock, void **addr, 195 *sock, void **addr,
196 size_t * addrlen); 196 size_t * addrlen);
197 197
@@ -202,7 +202,7 @@ int GNUNET_CONNECTION_get_address (struct
202 * 202 *
203 * @param sock socket to destroy 203 * @param sock socket to destroy
204 */ 204 */
205void GNUNET_CONNECTION_destroy (struct GNUNET_NETWORK_ConnectionHandle 205void GNUNET_CONNECTION_destroy (struct GNUNET_CONNECTION_Handle
206 *sock); 206 *sock);
207 207
208 208
@@ -221,7 +221,7 @@ void GNUNET_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_CONNECTION_receive (struct GNUNET_NETWORK_ConnectionHandle 224GNUNET_CONNECTION_receive (struct GNUNET_CONNECTION_Handle
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,
@@ -238,7 +238,7 @@ GNUNET_CONNECTION_receive (struct GNUNET_NETWORK_ConnectionHandle
238 * @return closure of the original receiver callback 238 * @return closure of the original receiver callback
239 */ 239 */
240void *GNUNET_CONNECTION_receive_cancel (struct 240void *GNUNET_CONNECTION_receive_cancel (struct
241 GNUNET_NETWORK_ConnectionHandle 241 GNUNET_CONNECTION_Handle
242 *sock, 242 *sock,
243 GNUNET_SCHEDULER_TaskIdentifier 243 GNUNET_SCHEDULER_TaskIdentifier
244 task); 244 task);
@@ -296,7 +296,7 @@ struct GNUNET_NETWORK_TransmitHandle;
296 */ 296 */
297struct GNUNET_NETWORK_TransmitHandle 297struct GNUNET_NETWORK_TransmitHandle
298 *GNUNET_CONNECTION_notify_transmit_ready (struct 298 *GNUNET_CONNECTION_notify_transmit_ready (struct
299 GNUNET_NETWORK_ConnectionHandle 299 GNUNET_CONNECTION_Handle
300 *sock, size_t size, 300 *sock, size_t size,
301 struct 301 struct
302 GNUNET_TIME_Relative 302 GNUNET_TIME_Relative